Skip to content

Commit

Permalink
Log that we're clearing the temp dir
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Brignull committed Aug 27, 2020
1 parent 3dfaa88 commit 6c8f96d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/runner.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/runner.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ program
const toolsDir = getToolsDir(cmd.toolsDir);

// Wipe the temp dir
logger.info(`Cleaning temp directory ${tempDir}`);
fs.rmdirSync(tempDir, { recursive: true });
fs.mkdirSync(tempDir, { recursive: true });

Expand Down

0 comments on commit 6c8f96d

Please sign in to comment.