Skip to content
This repository was archived by the owner on Jan 5, 2023. It is now read-only.

Commit 80c2fcd

Browse files
author
Sauyon Lee
committed
Autoformat tests
1 parent 235b7c0 commit 80c2fcd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ clean:
3030
DATAFLOW_BRANCH=master
3131

3232
autoformat:
33-
find ql/src -name "*.ql" -or -name "*.qll" | xargs codeql query format -qq -i
33+
find ql -name "*.ql" -or -name "*.qll" | xargs codeql query format -qq -i
3434
git ls-files | grep '\.go$$' | grep -v ^vendor/ | xargs grep -L "//\s*autoformat-ignore" | xargs gofmt -w
3535

3636
check-formatting:
37-
find ql/src -name "*.ql" -or -name "*.qll" | xargs codeql query format --check-only
37+
find ql -name "*.ql" -or -name "*.qll" | xargs codeql query format --check-only
3838
test -z "$$(git ls-files | grep '\.go$$' | grep -v ^vendor/ | xargs grep -L "//\s*autoformat-ignore" | xargs gofmt -l)"
3939

4040
ifeq ($(QHELP_OUT_DIR),)

0 commit comments

Comments
 (0)