Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes (attempt 2/3)
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Dec 15, 2024
1 parent 1c43d2d commit ed63818
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tailcall-template/src/jq/jq.rs
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,9 @@ where
fn as_bool(&self) -> bool {
if let Some(b) = self.0.as_bool() {
b
} else { !self.0.is_null() }
} else {
!self.0.is_null()
}
}

fn as_str(&self) -> Option<&str> {
Expand Down

0 comments on commit ed63818

Please sign in to comment.