mirror of
https://github.com/bower/bower.git
synced 2026-02-12 06:55:04 -05:00
Fix bug in the hasNew of the GitResolver.
This commit is contained in:
@@ -27,8 +27,8 @@ GitResolver.prototype._hasNew = function (pkgMeta) {
|
||||
return true;
|
||||
}
|
||||
|
||||
// If resolved to a tag, there is new content if the tags are not equal
|
||||
if (resolution.type === 'tag' && semver.neq(resolution.tag, oldResolution.tag)) {
|
||||
// If resolved to a version, there is new content if the tags are not equal
|
||||
if (resolution.type === 'version' && semver.neq(resolution.tag, oldResolution.tag)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user