File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
genkit-tools/cli/src/utils Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -225,10 +225,12 @@ export async function showUpdateNotification(): Promise<void> {
225
225
}
226
226
227
227
// 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' ;
229
231
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' ;
232
234
233
235
const updateNotificationMessage =
234
236
`Update available ${ clc . gray ( `v${ current } ` ) } → ${ clc . green ( `v${ latestVersion } ` ) } \n` +
@@ -237,7 +239,6 @@ export async function showUpdateNotification(): Promise<void> {
237
239
`${ clc . dim ( 'Run' ) } ${ clc . bold ( 'genkit config set updateNotificationsOptOut true' ) } ${ clc . dim ( 'to disable these notifications' ) } \n` ;
238
240
239
241
logger . info ( `\n${ updateNotificationMessage } ` ) ;
240
-
241
242
} catch ( e ) {
242
243
// Silently fail - update notifications shouldn't break the CLI
243
244
logger . debug ( 'Failed to show update notification' , e ) ;
You can’t perform that action at this time.
0 commit comments