Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Karrys <luke@lukekarrys.com>2022-03-19 07:31:37 +0300
committerNathan Fritz <fritzy@github.com>2022-03-24 23:21:44 +0300
commitcc6c09431d7fe2db8ac1dc7a707f2dab7a7a1f83 (patch)
tree834f053afb6dc6ddf1ab4e36a6a5e8e9f4c8124b /tap-snapshots/test/lib/commands/config.js.test.cjs
parent81afa5a8838c71a3a5037e2c8b4ae196e19fe0d7 (diff)
feat: add logs-dir config to set custom logging location
This also allows logs-max to be set to 0 to disable log file writing. Closes #4466 Closes #4206
Diffstat (limited to 'tap-snapshots/test/lib/commands/config.js.test.cjs')
-rw-r--r--tap-snapshots/test/lib/commands/config.js.test.cjs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tap-snapshots/test/lib/commands/config.js.test.cjs b/tap-snapshots/test/lib/commands/config.js.test.cjs
index 0806c68ca..f98e74c06 100644
--- a/tap-snapshots/test/lib/commands/config.js.test.cjs
+++ b/tap-snapshots/test/lib/commands/config.js.test.cjs
@@ -89,6 +89,7 @@ exports[`test/lib/commands/config.js TAP config list --json > output matches sna
"location": "user",
"lockfile-version": null,
"loglevel": "notice",
+ "logs-dir": null,
"logs-max": 10,
"long": false,
"maxsockets": 15,
@@ -242,6 +243,7 @@ local-address = null
location = "user"
lockfile-version = null
loglevel = "notice"
+logs-dir = null
logs-max = 10
; long = false ; overridden by cli
maxsockets = 15