Safe default.

This commit is contained in:
André Cruz
2013-06-06 00:10:45 +01:00
parent 036bd999fd
commit 796e019f12

View File

@@ -84,7 +84,7 @@ GitResolver.prototype._findResolution = function (target) {
var err;
var self = this.constructor;
target = target || this._target;
target = target || this._target || '*';
// Target is a commit, so it's a stale target (not a moving target)
// There's nothing to do in this case