Skip to content

Commit

Permalink
fix(cli): quote toml path (#1410)
Browse files Browse the repository at this point in the history
Fixes issue when tomlPath has a space in it
  • Loading branch information
TheBrenny committed Dec 29, 2022
1 parent 76a16be commit c58972e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/src/build.ts
Expand Up @@ -211,7 +211,7 @@ export class BuildCommand extends Command {
debug('Start parse toml')
cargoMetadata = JSON.parse(
execSync(
`cargo metadata --format-version 1 --manifest-path ${cargoTomlPath}`,
`cargo metadata --format-version 1 --manifest-path "${cargoTomlPath}"`,
{
stdio: 'pipe',
maxBuffer: 1024 * 1024 * 10,
Expand Down

0 comments on commit c58972e

Please sign in to comment.