fix(doctor): align isPinned logic with auto-updater to treat channel tags as not pinned
This commit is contained in:
parent
567b2bcfae
commit
8f37d7ffe1
@ -76,7 +76,7 @@ export function getPluginInfo(): PluginInfo {
|
||||
registered: true,
|
||||
configPath,
|
||||
entry: pluginEntry.entry,
|
||||
isPinned: pinnedVersion !== null,
|
||||
isPinned: pinnedVersion !== null && /^\d+\.\d+\.\d+/.test(pinnedVersion),
|
||||
pinnedVersion,
|
||||
isLocalDev: pluginEntry.isLocalDev,
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user