Merge pull request #9403 from singhvishalkr/fix/log-history-path-duplication

fix(cli): stop doubling the log directory in rotating-file-stream history path
This commit is contained in:
Mark IJbema
2026-04-23 11:09:37 +02:00
committed by GitHub
+1 -1
View File
@@ -71,7 +71,7 @@ export async function init(options: Options) {
const stream = createStream(path.basename(logpath), {
size: "50M",
maxFiles: 10,
history: path.join(dir, ".log-history"),
history: ".log-history",
path: dir,
})
stream.on("error", (err: Error) => {