Skip to content

Commit

Permalink
chore(change_detector): improve log message on invalid ref range (#10001
Browse files Browse the repository at this point in the history
)

I was getting confused about why I was seeing this log in a PR and the
issue was that I wasn't cloning my repo with enough depth in CI. It
would have saved me a little time to have a better log message here.
  • Loading branch information
mehulkar authored Feb 19, 2025
1 parent 882fb08 commit 7dcfc9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/turborepo-lib/src/run/scope/change_detector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ impl<'a> GitChangeDetector for ScopeChangeDetector<'a> {
merge_base,
)? {
Err(InvalidRange { from_ref, to_ref }) => {
debug!("all packages changed");
debug!("invalid ref range, defaulting to all packages changed");
return Ok(self
.pkg_graph
.packages()
Expand Down

0 comments on commit 7dcfc9d

Please sign in to comment.