@nxtedition/lib 23.3.8 → 23.3.10

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/app.js +7 -0
  2. package/package.json +1 -1
package/app.js CHANGED
@@ -1,4 +1,5 @@
1
1
  import * as inspector from 'node:inspector'
2
+ import fs from 'node:fs'
2
3
  import os from 'node:os'
3
4
  import http from 'node:http'
4
5
  import net from 'node:net'
@@ -268,6 +269,12 @@ export function makeApp(appConfig, onTerminate) {
268
269
  })
269
270
  }
270
271
 
272
+ try {
273
+ fs.mkdirSync('./.nxt', { recursive: true })
274
+ } catch (err) {
275
+ logger.warn({ err }, 'failed to create ./nxt dir')
276
+ }
277
+
271
278
  let toobusy
272
279
 
273
280
  if (appConfig.toobusy) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxtedition/lib",
3
- "version": "23.3.8",
3
+ "version": "23.3.10",
4
4
  "license": "MIT",
5
5
  "author": "Robert Nagy <robert.nagy@boffins.se>",
6
6
  "type": "module",