chore(release): fixes the build on Windows (#16645)

This commit is contained in:
Paul Stelzer
2018-12-09 17:58:44 +01:00
committed by Manu MA
parent 437ad09122
commit 0e09ed6065

View File

@ -29,7 +29,7 @@ function buildSchematics(){
path.join(__dirname, '..', 'tsconfig.schematics.json'),
];
const p = spawn(cmd, args, { cwd: typescriptPath, stdio: 'inherit' });
const p = spawn(cmd, args, { cwd: typescriptPath, stdio: 'inherit', shell: true });
p.on('close', (code) => {
if (code > 0) {
console.log(`ng-add build exited with ${code}`);