fsSize() fix windows size as number

This commit is contained in:
Sebastian Hildebrandt
2019-08-22 12:29:45 +02:00
parent 9c2713105c
commit aa1c4d14f4
4 changed files with 9 additions and 3 deletions
+1 -1
View File
@@ -85,7 +85,7 @@ function fsSize(callback) {
data.push({
'fs': line[0],
'type': line[1],
'size': line[3],
'size': parseInt(line[3]),
'used': parseInt(line[3]) - parseInt(line[2]),
'use': parseFloat((100.0 * (parseInt(line[3]) - parseInt(line[2]))) / parseInt(line[3])),
'mount': line[0]