Skip to content

Commit

Permalink
abs path for linter so cwd= doesn't break it
Browse files Browse the repository at this point in the history
  • Loading branch information
abe-winter committed Aug 29, 2023
1 parent 377ab58 commit 3aeed32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ lint-32bit: tool-install
# todo: no_pigpio is wrong; get it working on 32-bit builder
$(TOOL_BIN)/golangci-lint run -v --build-tags no_tflite,no_pigpio --tests=false --disable-all --enable staticcheck --timeout 30m
go mod vendor
etc/vendorlint.py all --linter $(TOOL_BIN)/golangci-lint
etc/vendorlint.py all --linter $(PWD)/$(TOOL_BIN)/golangci-lint

lint-web: check-web
npm run lint --prefix web/frontend
Expand Down

0 comments on commit 3aeed32

Please sign in to comment.