Use ensureDirSync in smoke test
This commit is contained in:
parent
0781f711d0
commit
a4e6f90d06
@ -13,7 +13,7 @@ try {
|
|||||||
execSync("npm pack");
|
execSync("npm pack");
|
||||||
|
|
||||||
console.log("Setting up smoke test");
|
console.log("Setting up smoke test");
|
||||||
fs.ensureDir(tempFolderPath);
|
fs.ensureDirSync(tempFolderPath);
|
||||||
|
|
||||||
fs.writeFileSync(
|
fs.writeFileSync(
|
||||||
path.join(tempFolderPath, "package.json"),
|
path.join(tempFolderPath, "package.json"),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user