fix test tmp dir cleanup
This commit is contained in:
@@ -111,6 +111,7 @@ var buildTest = function (binName, testName, opts) {
|
||||
};
|
||||
|
||||
var clear = function () {
|
||||
process.chdir(__dirname);
|
||||
if (fs.existsSync(tmpLoc)) rimraf.sync(tmpLoc);
|
||||
fs.mkdirSync(tmpLoc);
|
||||
process.chdir(tmpLoc);
|
||||
|
||||
Reference in New Issue
Block a user