Use ensureDirSync in smoke test

This commit is contained in:
Brian Ng 2017-05-10 14:53:15 -05:00
parent 0781f711d0
commit a4e6f90d06

View File

@ -13,7 +13,7 @@ try {
execSync("npm pack");
console.log("Setting up smoke test");
fs.ensureDir(tempFolderPath);
fs.ensureDirSync(tempFolderPath);
fs.writeFileSync(
path.join(tempFolderPath, "package.json"),