chore(version-info): previousVersions should not return undefined

Closes #6702
This commit is contained in:
Peter Bacon Darwin
2014-03-18 07:11:59 +00:00
parent 8d28d65b36
commit 1b46a7dcdf

View File

@@ -123,6 +123,8 @@ var getPreviousVersions = function() {
})
.sort(semver.compare)
.value();
} else {
return [];
}
};