Skip to content

Commit 566084a

Browse files
committed
🐛QD-10419 Set up plugins once even in scoped script
(cherry picked from commit 9fce635)
1 parent add041e commit 566084a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/system.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,10 +200,11 @@ func RunAnalysis(ctx context.Context, options *QodanaOptions) int {
200200
scenario = runScenarioDefault
201201
options.ResetScanScenarioOptions()
202202
}
203+
204+
installPlugins(options, options.QdConfig.Plugins)
203205
// this way of running needs to do bootstrap twice on different commits and will do it internally
204206
if scenario != runScenarioScoped && options.Ide != "" {
205207
platform.Bootstrap(options.QdConfig.Bootstrap, options.ProjectDir)
206-
installPlugins(options, options.QdConfig.Plugins)
207208
}
208209
switch scenario {
209210
case runScenarioFullHistory:
@@ -351,7 +352,6 @@ func runScopeScript(ctx context.Context, options *QodanaOptions, startHash strin
351352
configAtHash = options.QdConfig
352353
}
353354
platform.Bootstrap(configAtHash.Bootstrap, options.ProjectDir)
354-
installPlugins(options, configAtHash.Plugins)
355355

356356
exitCode := runQodana(ctx, options)
357357
if !(exitCode == 0 || exitCode == 255) {

0 commit comments

Comments
 (0)