Przeglądaj źródła

Fix flag name from #4835 (#4844)

Jon Ross-Perkins 1 rok temu
rodzic
commit
22c0198835
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      toolchain/autoupdate_testdata.py

+ 1 - 1
toolchain/autoupdate_testdata.py

@@ -45,7 +45,7 @@ def main() -> None:
     parser.add_argument("files", nargs="*")
     args = parser.parse_args()
 
-    if args.allow_check_fail:
+    if args.non_fatal_checks:
         if build_mode == "opt":
             exit(
                 "`--non-fatal-checks` is incompatible with inferred "