cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject git commit: Add medic to coho's known repos
Date Fri, 21 Feb 2014 01:40:51 GMT
Repository: cordova-coho
Updated Branches:
  refs/heads/master 3fc3958bd -> 7220dd7d7


Add medic to coho's known repos


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

Branch: refs/heads/master
Commit: 7220dd7d7e3de52ca1b1327c1fbb979b95cfb527
Parents: 3fc3958
Author: Andrew Grieve <agrieve@chromium.org>
Authored: Thu Feb 20 20:40:19 2014 -0500
Committer: Andrew Grieve <agrieve@chromium.org>
Committed: Thu Feb 20 20:40:41 2014 -0500

----------------------------------------------------------------------
 coho | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-coho/blob/7220dd7d/coho
----------------------------------------------------------------------
diff --git a/coho b/coho
index 4685ebc..d1c98cb 100755
--- a/coho
+++ b/coho
@@ -323,6 +323,11 @@ var otherRepos = [
         jiraComponentName: 'Plugman',
         inactive: true
     }, {
+        title: 'Cordova Medic',
+        id: 'medic',
+        repoName: 'cordova-medic',
+        inactive: true
+    }, {
         title: 'Cordova App Harness',
         id: 'app-harness',
         repoName: 'cordova-app-harness',
@@ -377,7 +382,7 @@ function print() {
     // Prefix any prints() to distinguish them from command output.
     if (newArgs.length > 1 || newArgs[0]) {
         var curDir = path.relative(origWorkingDir, process.cwd());
-        var prefix = './' + curDir + '/ =';
+        var prefix = curDir ? './' + curDir + '/ =' : './ =';
         var PREFIX_LEN = 30;
         if (prefix.length < PREFIX_LEN) {
             prefix += new Array(PREFIX_LEN - prefix.length + 1).join('=');


Mime
View raw message