diff options
author | Joao Moreno <jomo@microsoft.com> | 2016-10-31 13:27:40 +0300 |
---|---|---|
committer | Joao Moreno <jomo@microsoft.com> | 2016-10-31 13:27:45 +0300 |
commit | d2fa62d13d7312861846d36f2a78c8b3fea28c79 (patch) | |
tree | 8d6c55f5ec90e95bda9d0f8da42bb3344ace2e7b /gulpfile.js | |
parent | 63806e74d9679dd2f59bff758a4862d911b7a995 (diff) |
cleanup extensions menu
fixes #14384
Diffstat (limited to 'gulpfile.js')
-rw-r--r-- | gulpfile.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gulpfile.js b/gulpfile.js index 5aa3bf0d4db..f82bdbf2bb5 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -58,7 +58,7 @@ var ALL_EDITOR_TASKS = [ 'tslint', 'hygiene', ]; -var runningEditorTasks = process.argv.length > 2 && process.argv.slice(2).every(function(arg) { return (ALL_EDITOR_TASKS.indexOf(arg) !== -1); }); +var runningEditorTasks = process.argv.length > 2 && process.argv.slice(2).every(function (arg) { return (ALL_EDITOR_TASKS.indexOf(arg) !== -1); }); if (runningEditorTasks) { require(`./build/gulpfile.editor`); @@ -67,5 +67,5 @@ if (runningEditorTasks) { // Load all the gulpfiles only if running tasks other than the editor tasks const build = path.join(__dirname, 'build'); require('glob').sync('gulpfile.*.js', { cwd: build }) - .forEach(f => require(`./build/${ f }`)); + .forEach(f => require(`./build/${f}`)); }
\ No newline at end of file |