mirror of
https://github.com/fluencelabs/examples
synced 2024-12-04 19:20:17 +00:00
check env.DEBUG correctly
This commit is contained in:
parent
b040f692ce
commit
6763ea05d5
@ -19,7 +19,7 @@ import { krasnodar } from "@fluencelabs/fluence-network-environment";
|
||||
import { collect_timestamps_from_neighborhood } from "./_aqua/timestamp_gatherer";
|
||||
|
||||
async function main() {
|
||||
if (process.env.DEBUG) {
|
||||
if (process.env.DEBUG === 'true') {
|
||||
setLogLevel("DEBUG");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user