Skip to content
This repository was archived by the owner on Sep 10, 2019. It is now read-only.

Commit 850443c

Browse files
committed
fix: allow deleting .tmp dir outside process.cwd()
1 parent a750f13 commit 850443c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/data-sources.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const getDirName = dir =>
3131
.slice(-1)
3232
.pop();
3333

34-
export const cleanUpTempDir = () => del(TEMP_DIR);
34+
export const cleanUpTempDir = () => del(TEMP_DIR, { force: true });
3535

3636
const makeTempDir = tmpDir =>
3737
new Promise((resolve, reject) => {

0 commit comments

Comments
 (0)