Skip to content

Commit

Permalink
bookmark list output is not a valid JSON hoarder-app#150
Browse files Browse the repository at this point in the history
fixed the encoding issue by using json.stringify to get parsable JSON
  • Loading branch information
kamtschatka committed May 19, 2024
1 parent fdc27d3 commit e2b51ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/cli/src/commands/bookmarks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ bookmarkCmd
results = [...results, ...resp.bookmarks];
}

console.dir(results.map(normalizeBookmark), { maxArrayLength: null });
console.log(JSON.stringify(results.map(normalizeBookmark), null, 4));
});

bookmarkCmd
Expand Down

0 comments on commit e2b51ff

Please sign in to comment.