(source: HookSource)
| 254 | // Sort by highest priority source first (lowest priority number) |
| 255 | // Plugin hooks get lowest priority (highest number) |
| 256 | const getSourcePriority = (source: HookSource) => |
| 257 | source === 'pluginHook' || source === 'builtinHook' |
| 258 | ? 999 |
| 259 | : sourcePriority[source as EditableSettingSource] |
| 260 | |
| 261 | const aHighestPriority = Math.min(...aSources.map(getSourcePriority)) |
| 262 | const bHighestPriority = Math.min(...bSources.map(getSourcePriority)) |
nothing calls this directly
no outgoing calls
no test coverage detected