1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-15 20:35:23 +03:00

Merge pull request #2297 from mikeller/fix_macos_big_sur_issues

Cosmetic fix in gulpfile.
This commit is contained in:
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

View file

@ -566,14 +566,13 @@ function start_debug(done) {
const platforms = getPlatforms();
const exec = require('child_process').exec;
if (platforms.length === 1) {
if (platforms[0] === 'android') {
cordova_debug();
} else {
const run = getRunDebugAppCommand(platforms[0]);
console.log(`Starting debug app (${run})...`);
exec(run);
child_process.exec(run);
}
} else {
console.log('More than one platform specified, not starting debug app');