Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/kilo-vscode/src/agent-manager/project/paths.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export async function resolveProjectRoot(
Promise.resolve()
.then(() => git(dir, args))
.catch(() => undefined)
const revparse = async (arg: string) => (await run(["rev-parse", arg]))?.replace(/\r?\n$/, "")
const revparse = async (arg: string) => (await run(["rev-parse", arg]))?.trimEnd()
// Older Git echoes unsupported rev-parse flags into stdout with exit code zero.
// --show-toplevel is already absolute; never resolve an option line as a path.
const top = await revparse("--show-toplevel")
Expand Down
Loading