Use ensureDirSync in smoke test
This commit is contained in:
parent
b2524770f9
commit
4ed8904205
@ -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(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user