From 8eae151d7b4535b22f9d401d28bbf83fcc38fc40 Mon Sep 17 00:00:00 2001 From: Ruben Daniels Date: Fri, 3 Jul 2015 19:50:46 +0000 Subject: [PATCH] Tweaks to c9 list command --- plugins/c9.cli.publish/list.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/plugins/c9.cli.publish/list.js b/plugins/c9.cli.publish/list.js index 730ef4dc..82446bca 100644 --- a/plugins/c9.cli.publish/list.js +++ b/plugins/c9.cli.publish/list.js @@ -86,9 +86,10 @@ define(function(require, exports, module) { list.forEach(function(item){ console.log( pad(item.name, max[0] + PADDING), - pad(item.description.split(".")[0], max[1] + PADDING), - LIGHTBlUE + pad("https://c9.io/profile/packages/" + item.name, max[2] + PADDING) + RESETCOLOR, - item.website || item.repository.url); // do not pad last item + item.description.split(".")[0].replace(/[\r\n]/g, "")); + // pad(item.description.split(".")[0].replace(/[\r\n]/g, "-"), max[1] + PADDING)); + // LIGHTBlUE + pad("https://c9.io/packages/" + item.name, max[2] + PADDING) + RESETCOLOR, + // item.website || item.repository.url); // do not pad last item }); return callback(null, list); }