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

@@ -71,7 +71,7 @@ func (vr *varResolver) merge(vars *taskfile.Vars) {
return
}
tr := templater.Templater{Vars: vr.vars}
vars.Range(func(k string, v taskfile.Var) error {
_ = vars.Range(func(k string, v taskfile.Var) error {
v = taskfile.Var{
Static: tr.Replace(v.Static),
Sh: tr.Replace(v.Sh),