Skip to content

Commit bd8aa38

Browse files
committed
Correct package list taskfile variable name used by go:lint task
The incorrect variable name used in the `go:lint` task's `golint` command resulted in the task doing nothing, meaning that `golint` has never been ran on the project's packages.
1 parent 9478b28 commit bd8aa38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Taskfile.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ tasks:
102102
cd "$PROJECT_PATH"
103103
"$GOLINT_PATH" \
104104
{{default "-min_confidence 0.8 -set_exit_status" .GO_LINT_FLAGS}} \
105-
{{default .DEFAULT_TARGETS .TARGETS}}
105+
{{default .DEFAULT_GO_PACKAGES .GO_PACKAGES}}
106106
107107
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/check-go-task/Taskfile.yml
108108
go:format:

0 commit comments

Comments
 (0)