Skip to content

Commit

Permalink
fix: spaces in parent folder name can break build
Browse files Browse the repository at this point in the history
  • Loading branch information
TantelyRandriamazaoro committed Feb 9, 2024
1 parent 1987141 commit 6c3d9cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/scripts/build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function bundleOpenApiSpecs(rootDir = ROOT_DIR, specFileName = SPEC_FILENAME) {
}, [])
.forEach((specPath) => {
const distSpecPath = path.resolve(rootDir, 'dist', specPath);
const command = `pnpm openapi bundle src/${specPath} --output ${distSpecPath}`;
const command = `pnpm openapi bundle "src/${specPath}" --output ${distSpecPath}`;
shell.exec(command, { silent: true });
});
}

0 comments on commit 6c3d9cf

Please sign in to comment.