chore(cli): formatting + version consistency

This commit is contained in:
Cory Dransfeldt 2025-06-11 13:01:36 -07:00
parent fdd556df83
commit 970061ff9d
No known key found for this signature in database
15 changed files with 83 additions and 34 deletions

View file

@ -5,6 +5,7 @@ import { removeUrlProtocol } from '../sanitize.js';
export const addLinkToShare = async () => {
const config = await loadConfig();
initDirectusClient(config);
const { title, link, description, authorQuery } = await inquirer.prompt([
@ -30,7 +31,6 @@ export const addLinkToShare = async () => {
]);
const authorMatches = await searchItems('authors', authorQuery);
let author;
if (!authorMatches.length) {
@ -98,6 +98,7 @@ export const addLinkToShare = async () => {
if (!tags.length) {
console.warn(`⚠️ No tags found matching "${trimmedQuery}"`);
continue;
}