Skip to content

Commit

Permalink
fix: Fix resolution of stable versions
Browse files Browse the repository at this point in the history
  • Loading branch information
medikoo committed Sep 15, 2020
1 parent 9836d5d commit fe39ff7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/resolve-external-context.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const getVersions = ({ externalContext: { metadata } }) => Object.keys(metadata.

const resolveStableVersions = ({ externalContext: { metadata } }) =>
Object.entries(metadata.versions)
.filter(([, meta]) => meta.deprecated)
.filter(([, meta]) => !meta.deprecated)
.map(([version]) => version);

const getGloballyInstalledVersion = async ({ linkedPath }) => {
Expand Down

0 comments on commit fe39ff7

Please sign in to comment.