Use ensureDirSync in smoke test

This commit is contained in:
Brian Ng 2017-04-07 15:03:01 -05:00
parent b2524770f9
commit 4ed8904205

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"),
@ -30,7 +30,7 @@ try {
"babel-preset-env": "${packPath}"
}
}
`
`
);
fs.writeFileSync(