diff --git a/Makefile b/Makefile index 6271a3899b0..6290cf67b47 100644 --- a/Makefile +++ b/Makefile @@ -31,7 +31,7 @@ DATAFLOW_BRANCH=master autoformat: find ql/src -name "*.ql" -or -name "*.qll" | xargs codeql query format -qq -i - git ls-files | grep \\.go$ | xargs grep -L "//\s*autoformat-ignore" | xargs gofmt -w + git ls-files | grep \\.go$$ | xargs grep -L "//\s*autoformat-ignore" | xargs gofmt -w check-formatting: find ql/src -name "*.ql" -or -name "*.qll" | xargs codeql query format --check-only