You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ja...@apache.org on 2018/01/25 20:34:09 UTC

[cordova-windows] branch janpio-CB-13829 updated: fix eslint

This is an automated email from the ASF dual-hosted git repository.

janpio pushed a commit to branch janpio-CB-13829
in repository https://gitbox.apache.org/repos/asf/cordova-windows.git


The following commit(s) were added to refs/heads/janpio-CB-13829 by this push:
     new 9577dda  fix eslint
9577dda is described below

commit 9577dda40b61e3dcf42eab6d3ff5724bbcf8ecc8
Author: Jan Piotrowski <pi...@gmail.com>
AuthorDate: Thu Jan 25 21:33:58 2018 +0100

    fix eslint
---
 template/cordova/lib/build.js | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/template/cordova/lib/build.js b/template/cordova/lib/build.js
index e4c6113..0337fba 100644
--- a/template/cordova/lib/build.js
+++ b/template/cordova/lib/build.js
@@ -78,7 +78,6 @@ module.exports.run = function run (buildOptions) {
 // returns list of projects to be built based on config.xml and additional parameters (-appx)
 function getBuildTargets (isWinSwitch, isPhoneSwitch, projOverride, buildConfig = null) {
 
-
     var configXML = new ConfigParser(path.join(ROOT, 'config.xml'));
     var targets = [];
     var noSwitches = !(isPhoneSwitch || isWinSwitch);
@@ -144,7 +143,7 @@ function getBuildTargets (isWinSwitch, isPhoneSwitch, projOverride, buildConfig
         }
     }
 
-    if(buildConfig !== null) {
+    if (buildConfig !== null) {
         // As part of reworking how build and package determine the winning project, set the 'target type' project
         // as part of build configuration.  This will be used for determining the binary to 'run' after build is done.
         if (targets.length > 0) {
@@ -165,7 +164,7 @@ function getBuildTargets (isWinSwitch, isPhoneSwitch, projOverride, buildConfig
     }
 
     return targets;
-};
+}
 module.exports.getBuildTargets = getBuildTargets;
 
 /**

-- 
To stop receiving notification emails like this one, please contact
janpio@apache.org.

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org