Explorar el Código

Fix soundness script (#1676)

Motivation:

The formatting script expects the '-l' flag to run the lint checker
without running the formatter. The soundness script pass 'lint' which
was ignored, so the script ran the formatter instead of the lint checker
which means the formatting checker will never fail in CI.

Modifications:

- Fix the incorrect flag
- Fix a formatting issue which crept in

Result:

CI checks formatting correctly...
George Barnett hace 2 años
padre
commit
5cb9bcb2c3
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      scripts/sanity.sh

+ 1 - 1
scripts/sanity.sh

@@ -42,7 +42,7 @@ function check_license_headers() {
 }
 
 function check_formatting() {
-  run_logged "Checking formatting" "$HERE/format.sh lint"
+  run_logged "Checking formatting" "$HERE/format.sh -l"
 }
 
 errors=0