mirror of
https://github.com/fluencelabs/examples
synced 2025-04-25 10:42:16 +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";
|
import { collect_timestamps_from_neighborhood } from "./_aqua/timestamp_gatherer";
|
||||||
|
|
||||||
async function main() {
|
async function main() {
|
||||||
if (process.env.DEBUG) {
|
if (process.env.DEBUG === 'true') {
|
||||||
setLogLevel("DEBUG");
|
setLogLevel("DEBUG");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user