check env.DEBUG correctly

This commit is contained in:
folex 2022-04-04 18:13:41 +04:00
parent b040f692ce
commit 6763ea05d5

View File

@ -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");
}