Skip to content

Commit 7702ae9

Browse files
committed
lints
1 parent 6432f25 commit 7702ae9

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 let Ok(true) = std::env::var("ENABLE_CONSOLE_SUBSCRIBER").map(|v| v == "1") {
19+
if std::env::var("ENABLE_CONSOLE_SUBSCRIBER").map(|v| v == "1") == Ok(true) {
2020
console_subscriber::init();
2121
}
2222

0 commit comments

Comments
 (0)