Skip to content

Commit 530f199

Browse files
committed
lint
1 parent 7702ae9 commit 530f199

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/node/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ fn main() {
1616
}
1717

1818
// enable tokio-console subscriber
19-
if std::env::var("ENABLE_CONSOLE_SUBSCRIBER").map(|v| v == "1") == Ok(true) {
19+
if std::env::var("ENABLE_CONSOLE_SUBSCRIBER").is_ok_and(|v| v == "1") {
2020
console_subscriber::init();
2121
}
2222

0 commit comments

Comments
 (0)