Skip to content

Commit a8aa113

Browse files
committed
fix: sequential plugin installation now works @W-21915680@
1 parent cf1a801 commit a8aa113

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/plugins.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,10 @@ export default class Plugins {
165165
const normalizedUrl = npa(url)
166166
const matches = Object.entries(dependencies ?? {}).find(([, npmVersion]) => {
167167
const normalized = npa(npmVersion)
168+
if (normalized.type !== normalizedUrl.type) {
169+
return false
170+
}
171+
168172
// for local file paths
169173
if (normalized.type === 'file' && normalized.raw) {
170174
return parse(url).base === parse(normalized.raw).base

0 commit comments

Comments
 (0)