mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-01-05 21:54:05 -06:00
SEARCH-605
- return resolve missing
This commit is contained in:
parent
0ee004ccf1
commit
a71a62720d
@ -32,13 +32,13 @@ function checkDiskSpace(path, resolve, reject) {
|
|||||||
}
|
}
|
||||||
if (stdout.indexOf("The FSUTIL utility requires that you have administrative privileges.") !== -1) {
|
if (stdout.indexOf("The FSUTIL utility requires that you have administrative privileges.") !== -1) {
|
||||||
// this is temporary until we use the custom exe file.
|
// this is temporary until we use the custom exe file.
|
||||||
return true;
|
return resolve(true);
|
||||||
}
|
}
|
||||||
return reject(new Error("Error : " + error));
|
return reject(new Error("Error : " + error));
|
||||||
}
|
}
|
||||||
if (stdout.indexOf("The FSUTIL utility requires that you have administrative privileges.") !== -1) {
|
if (stdout.indexOf("The FSUTIL utility requires that you have administrative privileges.") !== -1) {
|
||||||
// this is temporary until we use the custom exe file.
|
// this is temporary until we use the custom exe file.
|
||||||
return true;
|
return resolve(true);
|
||||||
}
|
}
|
||||||
let data = stdout.trim().split("\n");
|
let data = stdout.trim().split("\n");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user