Skip to content

Commit

Permalink
🐛QD-10360 Fix an order of setting variables custom JVM properties
Browse files Browse the repository at this point in the history
  • Loading branch information
avafanasiev committed Nov 28, 2024
1 parent 4305a50 commit c65b943
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/system.go
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,6 @@ func runScopeScript(ctx context.Context, options *QodanaOptions, startHash strin
options.ConfDirPath(),
)
log.Infof("Analysing %s", hash)
writeProperties(options)

configAtHash, e := platform.GetQodanaYaml(options.ProjectDir)
if e != nil {
Expand All @@ -354,6 +353,7 @@ func runScopeScript(ctx context.Context, options *QodanaOptions, startHash strin
platform.Bootstrap(configAtHash.Bootstrap, options.ProjectDir)
installPlugins(options, configAtHash.Plugins)

writeProperties(options)
exitCode := runQodana(ctx, options)
if !(exitCode == 0 || exitCode == 255) {
log.Errorf("Qodana analysis on %s exited with code %d. Aborting", hash, exitCode)
Expand Down

0 comments on commit c65b943

Please sign in to comment.