Log that we're clearing the temp dir

This commit is contained in:
Robert Brignull 2020-08-27 16:45:41 +01:00
parent 3dfaa88a1d
commit 6c8f96d781
3 changed files with 4 additions and 2 deletions

View file

@ -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 });