File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -137,7 +137,6 @@ const makeBin = (): Bin => {
137
137
'Require either "@prettier" or "@format" to be present in the file\'s first docblock comment in order for it to be formatted\nDefaults to "false"' ,
138
138
)
139
139
. option ( "--stdin-filepath <path>" , "Path to the file to pretend that stdin comes from" )
140
- // .option("--support-info", "Print support information as JSON")
141
140
/* DEFAULT COMMAND */
142
141
. argument ( "[file/dir/glob...]" , "Files, directories or globs to format" )
143
142
. action ( async ( options , files ) => {
@@ -242,6 +241,10 @@ const makeWarnedPluggableBin = async (): Promise<Bin> => {
242
241
exit ( 'The "--file-info" option is not currently supported, please open an issue on GitHub if you need it' ) ;
243
242
}
244
243
244
+ if ( args [ "support-info" ] ) {
245
+ exit ( 'The "--support-info" option is not currently supported, please open an issue on GitHub if you need it' ) ;
246
+ }
247
+
245
248
const bin = await makePluggableBin ( ) ;
246
249
return bin ;
247
250
} ;
You can’t perform that action at this time.
0 commit comments