Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/betaflight/betaflight-configurator.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Keller <github@ike.ch>2020-11-28 14:14:40 +0300
committerMichael Keller <github@ike.ch>2020-11-28 15:03:20 +0300
commite2f3361ac8d90afe37057b1c9be1090abf774822 (patch)
tree1b892b2d82f31849b71de9943c383d852641b9d6 /gulpfile.js
parentc2344e645e7c3a677f18115713cb3028c666dcee (diff)
Cosmetic fix in gulpfile.
Diffstat (limited to 'gulpfile.js')
-rw-r--r--gulpfile.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/gulpfile.js b/gulpfile.js
index d4825385..67f49297 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -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');