cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bows...@apache.org
Subject android commit: CB-13034: Fixing eslint error
Date Tue, 18 Jul 2017 21:13:58 GMT
Repository: cordova-android
Updated Branches:
  refs/heads/master 22645d915 -> 893356abc


CB-13034: Fixing eslint error


Project: http://git-wip-us.apache.org/repos/asf/cordova-android/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-android/commit/893356ab
Tree: http://git-wip-us.apache.org/repos/asf/cordova-android/tree/893356ab
Diff: http://git-wip-us.apache.org/repos/asf/cordova-android/diff/893356ab

Branch: refs/heads/master
Commit: 893356abcd1b005a13bb09e7467f227b52de3ae5
Parents: 22645d9
Author: Joe Bowser <bowserj@apache.org>
Authored: Tue Jul 18 14:13:53 2017 -0700
Committer: Joe Bowser <bowserj@apache.org>
Committed: Tue Jul 18 14:13:53 2017 -0700

----------------------------------------------------------------------
 bin/templates/cordova/lib/prepare.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-android/blob/893356ab/bin/templates/cordova/lib/prepare.js
----------------------------------------------------------------------
diff --git a/bin/templates/cordova/lib/prepare.js b/bin/templates/cordova/lib/prepare.js
index d9431f0..b0bfb29 100644
--- a/bin/templates/cordova/lib/prepare.js
+++ b/bin/templates/cordova/lib/prepare.js
@@ -173,7 +173,7 @@ function updateProjectAccordingTo (platformConfig, locations) {
     strings.find('string[@name="app_name"]').text = name.replace(/\'/g, '\\\'');
 
     var shortName = platformConfig.shortName && platformConfig.shortName();
-    if (shortName && shortName != name) {
+    if (shortName && shortName !== name) {
         strings.find('string[@name="launcher_name"]').text = shortName.replace(/\'/g, '\\\'');
     }
 


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


Mime
View raw message