chore(cli): formatting + version consistency
This commit is contained in:
parent
fdd556df83
commit
970061ff9d
15 changed files with 83 additions and 34 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue