Merge pull request #272 from smowton/smowton/admin/fix-makefile-escaping

Escape go-fmt file filter
This commit is contained in:
Chris Smowton
2020-07-30 20:05:04 +01:00
committed by GitHub

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