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
  • Loading branch information
avafanasiev committed Sep 3, 2024
1 parent 2853b7c commit dbfdda6
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 dbfdda6

Please sign in to comment.