mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-26 13:05:35 +08:00
chore(version-info): previousVersions should not return undefined
Closes #6702
This commit is contained in:
@@ -124,6 +124,8 @@ var getPreviousVersions = function() {
|
||||
})
|
||||
.sort(semver.compare)
|
||||
.value();
|
||||
} else {
|
||||
return [];
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user