Merge pull request #2297 from mikeller/fix_macos_big_sur_issues
Cosmetic fix in gulpfile.10.8-maintenance
commit
a8b43e1e7c
|
@ -566,14 +566,13 @@ function start_debug(done) {
|
||||||
|
|
||||||
const platforms = getPlatforms();
|
const platforms = getPlatforms();
|
||||||
|
|
||||||
const exec = require('child_process').exec;
|
|
||||||
if (platforms.length === 1) {
|
if (platforms.length === 1) {
|
||||||
if (platforms[0] === 'android') {
|
if (platforms[0] === 'android') {
|
||||||
cordova_debug();
|
cordova_debug();
|
||||||
} else {
|
} else {
|
||||||
const run = getRunDebugAppCommand(platforms[0]);
|
const run = getRunDebugAppCommand(platforms[0]);
|
||||||
console.log(`Starting debug app (${run})...`);
|
console.log(`Starting debug app (${run})...`);
|
||||||
exec(run);
|
child_process.exec(run);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
console.log('More than one platform specified, not starting debug app');
|
console.log('More than one platform specified, not starting debug app');
|
||||||
|
|
Loading…
Reference in New Issue