Skip to content

Commit

Permalink
Revert "fix: disable cache if build-info is requested (#7358)"
Browse files Browse the repository at this point in the history
This reverts commit ef81e23.
  • Loading branch information
klkvr authored Apr 9, 2024
1 parent a6d6a3a commit afe758d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/config/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ impl Config {
})
.set_auto_detect(self.is_auto_detect())
.set_offline(self.offline)
.set_cached(cached && !self.build_info)
.set_cached(cached)
.set_build_info(!no_artifacts && self.build_info)
.set_no_artifacts(no_artifacts)
.build()?;
Expand Down

0 comments on commit afe758d

Please sign in to comment.