Skip to content

Commit

Permalink
⚡ QD-9824 Pass baseline through system property qodana.scoped.baselin…
Browse files Browse the repository at this point in the history
…e.path

(cherry picked from commit dbfdda6)
  • Loading branch information
avafanasiev committed Sep 4, 2024
1 parent 981c1d8 commit a3a98b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/system.go
Original file line number Diff line number Diff line change
Expand Up @@ -377,10 +377,10 @@ func runScopeScript(ctx context.Context, options *QodanaOptions, startHash strin
options.Property = append(
props,
"-Dqodana.skip.preamble=true", // don't print the QD logo again
"-Didea.headless.enable.statistics=false", // disable statistics for second run
"-Didea.headless.enable.statistics=false", // disable statistics for second run
fmt.Sprintf("-Dqodana.scoped.baseline.path=%s", startSarif), // disable statistics for second run
)
options.ResultsDir = endDir
options.Baseline = startSarif
options.ApplyFixes = applyFixes
options.Cleanup = cleanup
options.FixesStrategy = fixesStrategy
Expand Down

0 comments on commit a3a98b9

Please sign in to comment.