From 561c28bb6f8cdd97a6396efa1e046ee4ecc9293a Mon Sep 17 00:00:00 2001 From: Ruben Daniels Date: Wed, 29 Apr 2015 02:10:22 +0000 Subject: [PATCH] Improve verbose messaging --- plugins/c9.cli.publish/install.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/c9.cli.publish/install.js b/plugins/c9.cli.publish/install.js index 131ec69f..6b58a4a9 100644 --- a/plugins/c9.cli.publish/install.js +++ b/plugins/c9.cli.publish/install.js @@ -427,9 +427,6 @@ define(function(require, exports, module) { } function installFull(){ - if (verbose) - console.log("Notifying c9.io that packages needs to be installed"); - // Install Locally options.local = true; install(name + "@" + version, options, function(err){ @@ -460,6 +457,9 @@ define(function(require, exports, module) { function installToDatabase(){ if (options.test) return callback(null, { version: "test" }); + + if (verbose) + console.log("Notifying c9.io that packages needs to be installed"); var endpoint = options.global ? api.user : api.project; var url = "install/" + packageName + "/" + version + "?mode=silent";