We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6432f25 commit 7702ae9Copy full SHA for 7702ae9
crates/node/src/main.rs
@@ -16,7 +16,7 @@ fn main() {
16
}
17
18
// enable tokio-console subscriber
19
- if let Ok(true) = std::env::var("ENABLE_CONSOLE_SUBSCRIBER").map(|v| v == "1") {
+ if std::env::var("ENABLE_CONSOLE_SUBSCRIBER").map(|v| v == "1") == Ok(true) {
20
console_subscriber::init();
21
22
0 commit comments