Skip to content

Commit e27dad6

Browse files
committed
Remove update check for help command in CLI
1 parent 7a94e32 commit e27dad6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/cli.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@ program
6060

6161
// Check for updates before command execution for global installations
6262
const commandName = thisCommand.name()
63-
// Skip update check for help command
64-
if (commandName !== 'help' && commandName !== 'hatchbox') {
63+
if (commandName !== 'hatchbox') {
6564
try {
6665
const { checkAndNotifyUpdate } = await import('./utils/update-notifier.js')
6766
const { detectInstallationMethod } = await import('./utils/installation-detector.js')

0 commit comments

Comments
 (0)