fix(cli): quote toml path (#1410)
Fixes issue when tomlPath has a space in it
This commit is contained in:
parent
76a16be0eb
commit
c58972ee0a
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue