Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/plugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ export default class Plugins {
// a not valid tag indicates that it's a dist-tag like 'latest'
if (!valid(p.tag)) return `${p.name}@${p.tag}`

if (p.tag && valid(p.tag) && jitPlugins[p.name] && gt(p.tag, jitPlugins[p.name])) {
if (p.tag && valid(p.tag) && jitPlugins[p.name] && valid(jitPlugins[p.name]) && gt(p.tag, jitPlugins[p.name])) {
// The user has installed a version of the JIT plugin that is newer than the one
// specified by the root plugin's JIT configuration. In this case, we want to
// keep the version installed by the user.
Expand Down