We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 864df79 commit e90fcddCopy full SHA for e90fcdd
1 file changed
src/drive.ts
@@ -58,7 +58,7 @@ export async function getDrives(includeVirtual: boolean = false): Promise<DriveI
58
total,
59
used,
60
free: parseInt(parts[4], 10) || 0,
61
- utilization: total != 0 ? used / total : 0,
+ utilization: total !== 0 ? used / total : 0,
62
mount: (parts[6] || parts[0]) as string,
63
});
64
}
0 commit comments