From 3c1daf08f8b042f89ed92bb3db3d49bd12637067 Mon Sep 17 00:00:00 2001 From: Chris Smowton Date: Thu, 30 Jul 2020 17:06:01 +0100 Subject: [PATCH] Escape go-fmt file filter This should have been looking for \.go$, but I forgot to escape the dollar sign in a Makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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