fix: check cache folder exists #161
This commit is contained in:
@@ -196,7 +196,9 @@ const initArgs = async () => {
|
|||||||
if (argsUpdated && !("app_reset" in args)) {
|
if (argsUpdated && !("app_reset" in args)) {
|
||||||
args.app_reset = "arguments";
|
args.app_reset = "arguments";
|
||||||
}
|
}
|
||||||
|
if (fs.existsSync(APP.cache)) {
|
||||||
fs.writeFileSync(argsFileHashPath, argsFileHash);
|
fs.writeFileSync(argsFileHashPath, argsFileHash);
|
||||||
|
}
|
||||||
|
|
||||||
// Set global arguments
|
// Set global arguments
|
||||||
ARGS = args;
|
ARGS = args;
|
||||||
|
|||||||
Reference in New Issue
Block a user