cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From audre...@apache.org
Subject [2/2] cordova-common git commit: eslint fix
Date Thu, 26 Oct 2017 20:30:45 GMT
eslint fix

 This closes #9


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

Branch: refs/heads/master
Commit: bb2e6125afd974714927b4d604da5db20d7f3ae2
Parents: 971a0e2
Author: Joe Bowser <bowserj@apache.org>
Authored: Thu Oct 19 14:20:43 2017 -0700
Committer: Audrey So <audreyso@apache.org>
Committed: Thu Oct 26 13:29:32 2017 -0700

----------------------------------------------------------------------
 src/ConfigChanges/ConfigFile.js | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-common/blob/bb2e6125/src/ConfigChanges/ConfigFile.js
----------------------------------------------------------------------
diff --git a/src/ConfigChanges/ConfigFile.js b/src/ConfigChanges/ConfigFile.js
index 85eeff0..1b6d134 100644
--- a/src/ConfigChanges/ConfigFile.js
+++ b/src/ConfigChanges/ConfigFile.js
@@ -195,8 +195,7 @@ function resolveConfigFilePath (project_dir, platform, file) {
         } else if (file.endsWith('strings.xml')) {
             // Plugins really shouldn't mess with strings.xml, since it's able to be localized
             filepath = path.join(project_dir, 'app', 'src', 'main', 'res', 'values', 'strings.xml');
-        }
-        else if (file.match(/res\/xml/)) {
+        } else if (file.match(/res\/xml/)) {
             // Catch-all for all other stored XML configuration in legacy plugins
             var config_file = path.basename(file);
             filepath = path.join(project_dir, 'app', 'src', 'main', 'res', 'xml', config_file);


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


Mime
View raw message