Escape go-fmt file filter

This should have been looking for \.go$, but I forgot to escape the dollar sign in a Makefile
This commit is contained in:
Chris Smowton
2020-07-30 17:06:01 +01:00
parent 2134757ebf
commit 3c1daf08f8

View File

@@ -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