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

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


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

commit 3e5afe9b5a3cd6615d23e494eb695cf150d9d55f
Author: Jan Piotrowski <piotrow...@gmail.com>
AuthorDate: Mon Feb 12 17:23:45 2018 +0100

    fix eslint
---
 template/cordova/lib/MSBuildTools.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/template/cordova/lib/MSBuildTools.js 
b/template/cordova/lib/MSBuildTools.js
index 43fa670..0164052 100644
--- a/template/cordova/lib/MSBuildTools.js
+++ b/template/cordova/lib/MSBuildTools.js
@@ -131,7 +131,7 @@ function checkMSBuildVersion (version) {
         return inst.version === version;
     })[0];
     if (correspondingWillow) {
-        if(version == '15.5') version = '15.0'; // workaround for vs<->msbuild 
version mismatch
+        if (version === '15.5') version = '15.0'; // workaround for 
vs<->msbuild version mismatch
         var toolsPath = path.join(correspondingWillow.path, 'MSBuild', 
version, 'Bin');
         if (shell.test('-e', toolsPath)) {
             return module.exports.getMSBuildToolsAt(toolsPath);

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

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

Reply via email to