You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by bh...@apache.org on 2013/11/05 00:40:08 UTC

webworks commit: CB-5246 cordova/run disambiguate no target exists message

Updated Branches:
  refs/heads/master f2d756e94 -> 46ac29fd7


CB-5246 cordova/run disambiguate no target exists message

Reviewed by Bryan Higgins <bh...@blackberry.com>


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

Branch: refs/heads/master
Commit: 46ac29fd7a766a783160532cc210cc1ed11fdc53
Parents: f2d756e
Author: Josh Soref <js...@blackberry.com>
Authored: Fri Nov 1 14:17:30 2013 -0400
Committer: Bryan Higgins <br...@bryanhiggins.net>
Committed: Mon Nov 4 18:39:29 2013 -0500

----------------------------------------------------------------------
 blackberry10/bin/templates/project/cordova/lib/run-utils.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/46ac29fd/blackberry10/bin/templates/project/cordova/lib/run-utils.js
----------------------------------------------------------------------
diff --git a/blackberry10/bin/templates/project/cordova/lib/run-utils.js b/blackberry10/bin/templates/project/cordova/lib/run-utils.js
index d412fc2..9229486 100644
--- a/blackberry10/bin/templates/project/cordova/lib/run-utils.js
+++ b/blackberry10/bin/templates/project/cordova/lib/run-utils.js
@@ -82,9 +82,9 @@ function validateTarget(options, targetName, allDone) {
         runTasks = [];
 
     if (!targetName) {
-        err = "No target exists, to add that target please run target add <name> <ip> [-t | --type <device | simulator>] [-p <password>] [--pin <devicepin>]";
+        err = "No target exists, to add that target please run: target add <name> <ip> [-t | --type <device | simulator>] [-p <password>] [--pin <devicepin>]";
     } else if (!properties.targets[targetName]) {
-        err = "The target \"" + targetName + "\" does not exist, to add that target please run target add " + targetName + " <ip> [-t | --type <device | simulator>] [-p <password>] [--pin <devicepin>]";
+        err = "The target \"" + targetName + "\" does not exist, to add that target please run: target add " + targetName + " <ip> [-t | --type <device | simulator>] [-p <password>] [--pin <devicepin>]";
     } else {
         deployTarget = utils.clone(properties.targets[targetName]);
         deployTarget.name = targetName;