@compas/insight
Advanced tools
Comparing version 0.0.105 to 0.0.106
{ | ||
"name": "@compas/insight", | ||
"version": "0.0.105", | ||
"version": "0.0.106", | ||
"description": "Simple logger in NDJSON format", | ||
@@ -35,3 +35,3 @@ "main": "./index.js", | ||
}, | ||
"gitHead": "6ab87bab8ca01fd9a83d105d5bca7eca87e5c931" | ||
"gitHead": "c567f9d3f31a2e19a7cc88f0ea4d19a4e290b597" | ||
} |
@@ -16,3 +16,3 @@ import { writeNDJSON, writePretty } from "./writer.js"; | ||
const isProduction = | ||
options?.pretty === false || environment.NODE_ENV === "production"; | ||
options?.pretty === false || environment.NODE_ENV !== "development"; | ||
const stream = options?.stream ?? process.stdout; | ||
@@ -19,0 +19,0 @@ |
18148