fix: prevent [object Object] error display in console output (#8116)

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
lemon
2026-01-13 10:40:03 +08:00
committed by GitHub
parent eb2044989e
commit efaa9166fb
3 changed files with 6 additions and 6 deletions

View File

@@ -78,7 +78,7 @@ const FileTreeCommand = cmd({
}),
async handler(args) {
const files = await Ripgrep.tree({ cwd: args.dir, limit: 200 })
console.log(files)
console.log(JSON.stringify(files, null, 2))
},
})