mirror of https://github.com/docker/buildx.git
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…
Reference in New Issue