Improve verbose messaging

pull/85/head
Ruben Daniels 2015-04-29 02:10:22 +00:00
rodzic b42d7a62f2
commit 561c28bb6f
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -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";