mirror of
https://github.com/bower/bower.git
synced 2026-02-11 22:44:58 -05:00
Doc typos.
This commit is contained in:
@@ -95,7 +95,7 @@ GitRemoteResolver.prototype._resolveTarget = function () {
|
||||
branches = Object.keys(heads);
|
||||
errorDetails = !branches.length ?
|
||||
'No branches found in "' + source + '"' :
|
||||
'Available branches in "' + source + '" are ' + branches.join(', ');
|
||||
'Available branches in "' + source + '" are: ' + branches.join(', ');
|
||||
|
||||
throw createError('Branch "' + target + '" does not exist', 'ENORESTARGET', errorDetails);
|
||||
}
|
||||
@@ -175,7 +175,6 @@ GitRemoteResolver._fetchHeads = function (source) {
|
||||
return Q.resolve(this._heads[source]);
|
||||
}
|
||||
|
||||
// Request heads of the source of only the specified branch
|
||||
return this._fetchRefs(source)
|
||||
.then(function (refs) {
|
||||
this._heads = this._heads || {};
|
||||
|
||||
Reference in New Issue
Block a user