From dbd45d417380d2a85da02ed080993a2ca7769b01 Mon Sep 17 00:00:00 2001 From: Murat Sutunc Date: Wed, 18 Feb 2015 10:32:21 -0800 Subject: [PATCH] fix jshint errors (close #157) --- bin/lib/create.js | 2 +- bin/templates/cordova/lib/build.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/lib/create.js b/bin/lib/create.js index 8f52d7c7..fd5f03f8 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)); }); }; diff --git a/bin/templates/cordova/lib/build.js b/bin/templates/cordova/lib/build.js index 2d4df553..326ed9a9 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;