Skip to content

Commit

Permalink
Cleanup command improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
soumeh01 authored Oct 4, 2024
1 parent 029820b commit e1dce52
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions pkg/builder/csolution/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -597,10 +597,12 @@ func (b CSolutionBuilder) build() (err error) {
return err
}

b.Options.Rebuild, err = b.needRebuild()
if err != nil {
log.Error(err)
return err
if !b.Options.NoDatabase {
b.Options.Rebuild, err = b.needRebuild()
if err != nil {
log.Error(err)
return err
}
}

// clean all selected contexts when rebuild or clean are requested
Expand Down

0 comments on commit e1dce52

Please sign in to comment.