mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-15 09:34:19 +08:00
chore(release): fixes the build on Windows (#16645)
This commit is contained in:
2
angular/scripts/build-core.js
vendored
2
angular/scripts/build-core.js
vendored
@ -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}`);
|
||||
|
Reference in New Issue
Block a user