Skip to content

Commit

Permalink
fix(build): ensure output directory exists before downloading files i…
Browse files Browse the repository at this point in the history
…nto it (#1946)
  • Loading branch information
addaleax authored Apr 12, 2024
1 parent b4915d0 commit 39aa016
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/build/src/run-download-and-list-artifacts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export async function runDownloadAndListArtifacts(
const packageInformation =
config.packageInformation as Required<Config>['packageInformation'];

await fs.mkdir(config.outputDir, { recursive: true });
const fileList = await Promise.all(
ALL_PACKAGE_VARIANTS.map(async (packageVariant: PackageVariant) => {
const packageFilename = getPackageFile(
Expand Down

0 comments on commit 39aa016

Please sign in to comment.