mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-09-24 16:02:55 +08:00
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:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user