Skip to content

Commit 310c411

Browse files
committed
chore: format
1 parent c4c7de2 commit 310c411

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

genkit-tools/cli/src/utils/updates.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -225,10 +225,12 @@ export async function showUpdateNotification(): Promise<void> {
225225
}
226226

227227
// Determine install method and update command for message
228-
const installMethod = isCompiledBinary ? "installer script" : "your package manager";
228+
const installMethod = isCompiledBinary
229+
? 'installer script'
230+
: 'your package manager';
229231
const updateCommand = isCompiledBinary
230-
? "curl -sL cli.genkit.dev | uninstall=true bash"
231-
: "npm install -g genkit-cli";
232+
? 'curl -sL cli.genkit.dev | uninstall=true bash'
233+
: 'npm install -g genkit-cli';
232234

233235
const updateNotificationMessage =
234236
`Update available ${clc.gray(`v${current}`)}${clc.green(`v${latestVersion}`)}\n` +
@@ -237,7 +239,6 @@ export async function showUpdateNotification(): Promise<void> {
237239
`${clc.dim('Run')} ${clc.bold('genkit config set updateNotificationsOptOut true')} ${clc.dim('to disable these notifications')}\n`;
238240

239241
logger.info(`\n${updateNotificationMessage}`);
240-
241242
} catch (e) {
242243
// Silently fail - update notifications shouldn't break the CLI
243244
logger.debug('Failed to show update notification', e);

0 commit comments

Comments
 (0)