fix(deps): update module golang.org/x/term to v0.3.0

Signed-off-by: Renovate Bot <bot@renovateapp.com>
This commit is contained in:
renovate[bot]
2022-12-06 19:47:04 +00:00
committed by GitHub
parent c093484820
commit 46d48295fb
6 changed files with 21 additions and 11 deletions

View File

@@ -7,9 +7,11 @@
package execabs
import "strings"
import (
"errors"
"os/exec"
)
func isGo119ErrDot(err error) bool {
// TODO: return errors.Is(err, exec.ErrDot)
return strings.Contains(err.Error(), "current directory")
return errors.Is(err, exec.ErrDot)
}