From 83d76a0781a2075fe2ffd9f246938ef283813837 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andre=CC=81=20Cruz?= Date: Sun, 14 Apr 2013 03:44:48 +0100 Subject: [PATCH] Doc typos. --- lib/resolve/resolvers/GitRemoteResolver.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/resolve/resolvers/GitRemoteResolver.js b/lib/resolve/resolvers/GitRemoteResolver.js index 799fd859..c8022a34 100644 --- a/lib/resolve/resolvers/GitRemoteResolver.js +++ b/lib/resolve/resolvers/GitRemoteResolver.js @@ -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 || {};