Skip to content

Commit

Permalink
🐛 Prepare directories for each diff run
Browse files Browse the repository at this point in the history
Log dir implicitly depends on results dir, which we change for each run
  • Loading branch information
jckoenen authored and tiulpin committed Mar 4, 2024
1 parent 775b3f8 commit 7598d79
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions core/system.go
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,12 @@ func runOnCommitRange(ctx context.Context, options *QodanaOptions) int {
if e != nil {
log.Fatalf("Cannot checkout commit %s: %v", hash, e)
}

prepareDirectories(
options.CacheDir,
options.LogDirPath(),
options.ConfDirPath(),
)
log.Infof("Analysing %s", hash)
writeProperties(options)

Expand Down

0 comments on commit 7598d79

Please sign in to comment.