pinokiod 3.339.0 → 3.340.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/kernel/util.js +3 -1
  2. package/package.json +1 -1
package/kernel/util.js CHANGED
@@ -312,7 +312,9 @@ const parse_env = async (filename) => {
312
312
  try {
313
313
  const buf = await fs.promises.readFile(filename)
314
314
  let config = dotenv.parse(buf) // will return an object
315
- console.warn(`[parse_env] initial parse keys=${config ? Object.keys(config).length : 0} for ${filename}`)
315
+ if (!config || Object.keys(config).length === 0) {
316
+ console.warn(`[parse_env] initial parse empty for ${filename}`)
317
+ }
316
318
 
317
319
  // Fallbacks for UTF-16 encodings (common from “Unicode” saves)
318
320
  if ((!config || Object.keys(config).length === 0) && buf.length > 0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.339.0",
3
+ "version": "3.340.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {