File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -349,10 +349,15 @@ fn path_to_ast_extension(path: &Path) -> &str {
349
349
fn include_ppx ( flag : & str , contents : & str ) -> bool {
350
350
if flag. contains ( "bisect" ) {
351
351
return std:: env:: var ( "BISECT_ENABLE" ) . is_ok ( ) ;
352
- } else if flag. contains ( "graphql-ppx" ) && !contents. contains ( "%graphql" ) {
352
+ } else if ( flag. contains ( "graphql-ppx" ) || flag. contains ( "graphql_ppx" ) ) && !contents. contains ( "%graphql" )
353
+ {
353
354
return false ;
354
355
} else if flag. contains ( "spice" ) && !contents. contains ( "@spice" ) {
355
356
return false ;
357
+ } else if flag. contains ( "rescript-relay" ) && !contents. contains ( "%relay" ) {
358
+ return false ;
359
+ } else if flag. contains ( "re-formality" ) && !contents. contains ( "%form" ) {
360
+ return false ;
356
361
}
357
362
return true ;
358
363
}
You can’t perform that action at this time.
0 commit comments