Skip to content

Commit

Permalink
fix: make buildIfNeeded work
Browse files Browse the repository at this point in the history
  • Loading branch information
exKAZUu committed Oct 4, 2023
1 parent edaae25 commit fa2c58d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/wb/src/commands/buildIfNeeded.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ function build(argv: Partial<ArgumentsCamelCase<InferredOptionTypes<typeof build
if (!argv.dryRun) {
const ret = child_process.spawnSync(argv.command ?? '', {
cwd: project.dirPath,
shell: true,
stdio: 'inherit',
});
if (ret.status !== 0) {
Expand Down

0 comments on commit fa2c58d

Please sign in to comment.