Skip to content

Commit f44f544

Browse files
carols10centssgrif
authored andcommitted
Don't use version num 0.0.0, all versions have been yanked
1 parent 99afd2f commit f44f544

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/routes/crate/version.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export default Ember.Route.extend({
1111
const maxVersion = crate.get('max_version');
1212

1313
// Fall back to the crate's `max_version` property
14-
if (!requestedVersion) {
14+
if (!requestedVersion && maxVersion !== '0.0.0') {
1515
params.version_num = maxVersion;
1616
}
1717

0 commit comments

Comments
 (0)