Skip to content

Commit

Permalink
Make github consistent with file
Browse files Browse the repository at this point in the history
  • Loading branch information
BenSurgisonGDS committed Oct 9, 2023
1 parent b062961 commit 74b94e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/plugins/packages.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ async function refreshPackageInfo (packageName, version) {
const installedPackageVersion = packageJson && projectPackage.dependencies[packageName]
const installed = !!installedPackageVersion
const installedLocally = installedPackageVersion?.startsWith('file:')
const installedFromGithub = installedPackageVersion?.startsWith('github')
const installedFromGithub = installedPackageVersion?.startsWith('github:')
const installedVersion = installed ? packageJson?.version : undefined

let localVersion
Expand Down

0 comments on commit 74b94e9

Please sign in to comment.