1
0
Fork 0

Fix recovery tmp dir

This commit is contained in:
KVS85 2019-07-09 18:13:25 +03:00 committed by GitHub
parent 789ef28a59
commit c05288fa59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ function recovery (options) {
let count = 0; let count = 0;
let orgTmp = process.env.TMPDIR; let orgTmp = process.env.TMPDIR;
let tempDir = fs.join(fs.getTempPath(), 'crashtmp'); let tempDir = fs.join(fs.getTempPath(), 'recovery');
fs.makeDirectoryRecursive(tempDir); fs.makeDirectoryRecursive(tempDir);
process.env.TMPDIR = tempDir; process.env.TMPDIR = tempDir;
pu.cleanupDBDirectoriesAppend(tempDir); pu.cleanupDBDirectoriesAppend(tempDir);