allure-npm
allure-npm copied to clipboard
Command does not work with path containing white-space
In case, the CWD contains white-space, the command does not work. Same issue as https://github.com/nodejs/node/issues/7367
This can be fixed here as well (in index.js):
return require('child_process').spawn('"' + path.join(__dirname, 'dist/bin', allureCommand) + '"', args, { // adding quotes
env: process.env,
stdio: 'inherit',
shell: true, // enabling shell, to support quotes :)
});