1
0
mirror of https://github.com/go-task/task.git synced 2025-08-10 22:42:19 +02:00

Add golangci-lint

https://golangci-lint.run/
This commit is contained in:
Andrey Nering
2022-05-14 21:00:15 -03:00
parent a1f9b584dc
commit 9e1d4e7855
13 changed files with 54 additions and 42 deletions

View File

@@ -68,7 +68,7 @@ func (r *Templater) ReplaceVars(vars *taskfile.Vars) *taskfile.Vars {
}
var new taskfile.Vars
vars.Range(func(k string, v taskfile.Var) error {
_ = vars.Range(func(k string, v taskfile.Var) error {
new.Set(k, taskfile.Var{
Static: r.Replace(v.Static),
Live: v.Live,