Merge pull request #2297 from mikeller/fix_macos_big_sur_issues

Cosmetic fix in gulpfile.
10.8-maintenance
Michael Keller 2020-11-29 11:52:04 -08:00 committed by GitHub
commit a8b43e1e7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -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');