mirror of
https://github.com/go-task/task.git
synced 2026-07-09 06:55:14 +00:00
Update github.com/mvdan/sh
This commit is contained in:
4
vendor/github.com/mvdan/sh/interp/test.go
generated
vendored
4
vendor/github.com/mvdan/sh/interp/test.go
generated
vendored
@@ -146,7 +146,9 @@ func (r *Runner) unTest(op syntax.UnTestOperator, x string) bool {
|
||||
case syntax.TsNempStr:
|
||||
return x != ""
|
||||
//case syntax.TsOptSet:
|
||||
//case syntax.TsVarSet:
|
||||
case syntax.TsVarSet:
|
||||
_, e := r.lookupVar(x)
|
||||
return e
|
||||
//case syntax.TsRefVar:
|
||||
case syntax.TsNot:
|
||||
return x == ""
|
||||
|
||||
Reference in New Issue
Block a user