Skip to content

Commit 764e5e8

Browse files
committed
fmt
1 parent 3410c55 commit 764e5e8

File tree

1 file changed

+4
-4
lines changed
  • crates/turborepo-scm/src

1 file changed

+4
-4
lines changed

crates/turborepo-scm/src/git.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -201,10 +201,10 @@ impl GitRepo {
201201
*
202202
* So environment variable is empty in a regular commit
203203
*/
204-
if let Ok(pr) = base_ref_env.github_base_ref {
205-
if !pr.is_empty() {
206-
return Some(pr);
207-
}
204+
if let Ok(pr) = base_ref_env.github_base_ref
205+
&& !pr.is_empty()
206+
{
207+
return Some(pr);
208208
}
209209

210210
// we must be in a push event

0 commit comments

Comments
 (0)