mirror of
https://github.com/bower/bower.git
synced 2026-04-24 03:00:19 -04:00
Minor tweaks.
This commit is contained in:
@@ -265,9 +265,9 @@ Project.prototype.uninstall = function (names, options) {
|
||||
});
|
||||
}
|
||||
|
||||
// Question the user
|
||||
that._logger.conflict('mutual', message, data);
|
||||
|
||||
// Question the user
|
||||
return Q.nfcall(promptly.confirm, 'Continue anyway? (y/n)')
|
||||
.then(function (confirmed) {
|
||||
// If the user decided to skip it, remove from the array so that it won't
|
||||
|
||||
@@ -41,7 +41,7 @@ StandardRenderer.prototype.error = function (err) {
|
||||
err.id = err.code || 'error';
|
||||
err.level = 'error';
|
||||
|
||||
str = this._prefixLog(err) + ' ' + err.message + '\n';
|
||||
str = this._prefix(err) + ' ' + err.message + '\n';
|
||||
|
||||
// Check if additional details were provided
|
||||
if (err.details) {
|
||||
@@ -129,7 +129,7 @@ StandardRenderer.prototype._genericLog = function (log) {
|
||||
stream = process.stdout;
|
||||
}
|
||||
|
||||
str = this._prefixLog(log) + ' ' + log.message + '\n';
|
||||
str = this._prefix(log) + ' ' + log.message + '\n';
|
||||
this._write(stream, 'bower ' + str);
|
||||
};
|
||||
|
||||
@@ -163,7 +163,7 @@ StandardRenderer.prototype._guessOrigin = function (log) {
|
||||
}
|
||||
};
|
||||
|
||||
StandardRenderer.prototype._prefixLog = function (log) {
|
||||
StandardRenderer.prototype._prefix = function (log) {
|
||||
var label;
|
||||
var length;
|
||||
var nrSpaces;
|
||||
|
||||
Reference in New Issue
Block a user