mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-05-18 00:47:48 +08:00
git: propogate failure to locate git binary
Signed-off-by: Justin Chadwell <me@jedevc.com>
This commit is contained in:
parent
a97e1641a4
commit
c47eb3bf5a
@ -49,7 +49,7 @@ func New(opts ...Option) (*Git, error) {
|
||||
|
||||
c.gitpath, err = gitPath(c.wd)
|
||||
if err != nil {
|
||||
return nil, errors.New("git not found in PATH")
|
||||
return nil, err
|
||||
}
|
||||
|
||||
return c, nil
|
||||
|
Loading…
x
Reference in New Issue
Block a user