+6
-1
lines changedFilter options
+6
-1
lines changed Original file line number Diff line number Diff line change
@@ -176,6 +176,7 @@ class Npm {
176
176
// take a long time to resolve, but that is why process.exit is called explicitly
177
177
// in the exit-handler.
178
178
this.unrefPromises.push(this.#logFile.load({
179
+
command,
179
180
path: this.logPath,
180
181
logsMax: this.config.get('logs-max'),
181
182
timing: this.config.get('timing'),
Original file line number Diff line number Diff line change
@@ -48,7 +48,11 @@ class LogFiles {
48
48
this.#endStream()
49
49
}
50
50
51
-
load ({ path, logsMax = Infinity, timing } = {}) {
51
+
load ({ command, path, logsMax = Infinity, timing } = {}) {
52
+
if (['completion'].includes(command)) {
53
+
return
54
+
}
55
+
52
56
// dir is user configurable and is required to exist so
53
57
// this can error if the dir is missing or not configured correctly
54
58
this.#path = path
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4