mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-31 19:27:00 -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) {
|
||||
// this is temporary until we use the custom exe file.
|
||||
return true;
|
||||
return resolve(true);
|
||||
}
|
||||
return reject(new Error("Error : " + error));
|
||||
}
|
||||
if (stdout.indexOf("The FSUTIL utility requires that you have administrative privileges.") !== -1) {
|
||||
// this is temporary until we use the custom exe file.
|
||||
return true;
|
||||
return resolve(true);
|
||||
}
|
||||
let data = stdout.trim().split("\n");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user