File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -237,10 +237,11 @@ export const hooksCommand: CommandDefinition = {
237
237
let responseMessage = '' ;
238
238
239
239
switch ( subcommand ) {
240
- case 'list' :
240
+ case 'list' : {
241
241
const showMergedOnly = flags . includes ( '--merged' ) ;
242
242
responseMessage = listHooks ( ! showMergedOnly ) ;
243
243
break ;
244
+ }
244
245
245
246
case 'enable' :
246
247
hooksManager . setEnabled ( true ) ;
@@ -261,10 +262,11 @@ export const hooksCommand: CommandDefinition = {
261
262
responseMessage = showExampleConfig ( ) ;
262
263
break ;
263
264
264
- case 'init' :
265
+ case 'init' : {
265
266
const isLocal = flags . includes ( '--local' ) ;
266
267
responseMessage = initializeHooks ( isLocal ) ;
267
268
break ;
269
+ }
268
270
269
271
default :
270
272
responseMessage = showHelp ( ) ;
You can’t perform that action at this time.
0 commit comments