You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2015/02/19 03:32:36 UTC

android commit: fix jshint errors (close #157)

Repository: cordova-android
Updated Branches:
  refs/heads/master 7e0bfbbad -> dbd45d417


fix jshint errors (close #157)


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

Branch: refs/heads/master
Commit: dbd45d417380d2a85da02ed080993a2ca7769b01
Parents: 7e0bfbb
Author: Murat Sutunc <mu...@microsoft.com>
Authored: Wed Feb 18 10:32:21 2015 -0800
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Wed Feb 18 21:31:43 2015 -0500

----------------------------------------------------------------------
 bin/lib/create.js                  | 2 +-
 bin/templates/cordova/lib/build.js | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-android/blob/dbd45d41/bin/lib/create.js
----------------------------------------------------------------------
diff --git a/bin/lib/create.js b/bin/lib/create.js
index 8f52d7c..fd5f03f 100755
--- a/bin/lib/create.js
+++ b/bin/lib/create.js
@@ -319,7 +319,7 @@ exports.updateProject = function(projectPath, shared) {
         copyBuildRules(projectPath);
         removeDebuggableFromManifest(projectPath);
         writeProjectProperties(projectPath, target_api);
-        prepBuildFiles(project_path);
+        prepBuildFiles(projectPath);
         console.log(generateDoneMessage('update', shared));
     });
 };

http://git-wip-us.apache.org/repos/asf/cordova-android/blob/dbd45d41/bin/templates/cordova/lib/build.js
----------------------------------------------------------------------
diff --git a/bin/templates/cordova/lib/build.js b/bin/templates/cordova/lib/build.js
index 2d4df55..326ed9a 100644
--- a/bin/templates/cordova/lib/build.js
+++ b/bin/templates/cordova/lib/build.js
@@ -389,6 +389,7 @@ function parseOpts(options, resolvedTarget) {
                     break;
                 case 'prepenv' :
                     ret.prepEnv = true;
+                    break;
                 case 'nobuild' :
                     ret.buildMethod = 'none';
                     break;


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