File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -24,15 +24,15 @@ const argv = require('yargs')
2424 } ,
2525 )
2626 . command (
27- '$0 [options] [ filenames..]' ,
27+ '$0 [filenames..]' ,
2828 'Runs graphql-codegen based on changes to ts(x)/js(x) files' ,
2929 )
3030 . help ( )
3131 . argv ;
3232
3333const { filenames = [ ] , verbose = false } = argv ;
3434const fileMatches = filenames . filter (
35- minimatch . filter ( "*.+(tsx|jsx|js|ts)" , { matchBase : true } ) ,
35+ minimatch . filter ( "*.+(tsx|jsx|js|ts)" , { matchBase : false } ) ,
3636) ;
3737const shouldExecute = fileMatches . length > 0 ;
3838
@@ -43,7 +43,7 @@ if (!shouldExecute) {
4343 return 0 ;
4444} else {
4545 if ( verbose ) {
46- shell . echo ( `Matching files found: ${ fileMatches . join ( ', ' ) } ` ) ;
46+ shell . echo ( `Matching files found: ${ fileMatches . join ( ", " ) } ` ) ;
4747 }
4848 const basePath = shell . pwd ( ) . toString ( ) ;
4949
You can’t perform that action at this time.
0 commit comments