We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d64222 commit 08af876Copy full SHA for 08af876
lib/core/resolvers/GitRemoteResolver.js
@@ -133,7 +133,7 @@ GitRemoteResolver.prototype._fastClone = function (resolution) {
133
// When that happens, we mark this host and try again
134
if (!GitRemoteResolver._noShallow.has(that._source) &&
135
err.details &&
136
- /(rpc failed|shallow)/i.test(err.details)
+ /(rpc failed|shallow|--depth)/i.test(err.details)
137
) {
138
GitRemoteResolver._noShallow.set(that._host, true);
139
return that._fastClone(resolution);
0 commit comments