kopia lustrzana https://github.com/c9/core
Improve verbose messaging
rodzic
b42d7a62f2
commit
561c28bb6f
|
@ -427,9 +427,6 @@ define(function(require, exports, module) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function installFull(){
|
function installFull(){
|
||||||
if (verbose)
|
|
||||||
console.log("Notifying c9.io that packages needs to be installed");
|
|
||||||
|
|
||||||
// Install Locally
|
// Install Locally
|
||||||
options.local = true;
|
options.local = true;
|
||||||
install(name + "@" + version, options, function(err){
|
install(name + "@" + version, options, function(err){
|
||||||
|
@ -461,6 +458,9 @@ define(function(require, exports, module) {
|
||||||
if (options.test)
|
if (options.test)
|
||||||
return callback(null, { version: "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 endpoint = options.global ? api.user : api.project;
|
||||||
var url = "install/" + packageName + "/" + version + "?mode=silent";
|
var url = "install/" + packageName + "/" + version + "?mode=silent";
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue