Skip to content

Commit

Permalink
fix: Missing recursive option when creating tmp directory
Browse files Browse the repository at this point in the history
  • Loading branch information
guilgaly authored and notdryft committed Dec 10, 2024
1 parent 5d52f50 commit 3cdf755
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/cli/src/dependencies/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ const getResolvedBundle = (bundlePath: string): ResolvedBundle => ({
const downloadAndInstallBundle = async (options: BundleOptions) => {
const tmpFolder = path.join(options.gatlingHome, "tmp");
if (!fsSync.existsSync(tmpFolder)) {
await fs.mkdir(tmpFolder);
await fs.mkdir(tmpFolder, { recursive: true });
}

const tmpFile = path.join(tmpFolder, "bundle-download.zip");
Expand Down

0 comments on commit 3cdf755

Please sign in to comment.