feat(*.liquid): apply prettier to liquid templates

- offer to create tag when none is found while adding a link from cli
- fix tag display in search
This commit is contained in:
Cory Dransfeldt 2025-06-16 14:40:54 -07:00
parent 49e21d574e
commit efe701f939
No known key found for this signature in database
112 changed files with 1319 additions and 1134 deletions

View file

@ -1,11 +1,11 @@
export const handleExitError = (err, type = 'Unhandled error') => {
export const handleExitError = (err, type = "Unhandled error") => {
const isExit =
err?.name === 'ExitPromptError' ||
err?.code === 'ERR_CANCELED' ||
err?.message?.includes('SIGINT');
err?.name === "ExitPromptError" ||
err?.code === "ERR_CANCELED" ||
err?.message?.includes("SIGINT");
if (isExit) {
console.log('\n👋 Exiting. Cya!\n');
console.log("\n👋 Exiting. Cya!\n");
process.exit(0);
}