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