()
| 243 | } |
| 244 | |
| 245 | public getDisabledPluginSet(): Set<string> { |
| 246 | if (!this.disabledPluginPathSet) { |
| 247 | this.getDisabledPlugins() |
| 248 | } |
| 249 | // getDisabledPlugins() 确保 disabledPluginPathSet 被初始化 |
| 250 | return this.disabledPluginPathSet! |
| 251 | } |
| 252 | |
| 253 | public isPluginDisabled(pluginPath: string): boolean { |
| 254 | return this.getDisabledPluginSet().has(pluginPath) |
no test coverage detected