core: allow cross-domain problem search

This commit is contained in:
undefined committed 2021-12-01 22:28:22 +08:00
1 parent 71a5f6dd13
commit a0734a1030
11 files changed
+120 -53

No files matched your search

+1
View File
@@ -116,6 +116,7 @@ if (argv.args[0] === 'restore') {
fs.copySync(`${dir}/env`, `${os.homedir()}/.hydro/env`, { overwrite: true });
}
fs.removeSync(dir);
console.log('Successfully restored.');
return;
}