Fix build errors
This commit is contained in:
@@ -748,8 +748,8 @@ index 0000000..16175a2
|
||||
+
|
||||
+ if p.Internal.Build.SrcRoot != "" {
|
||||
+ // Directory exists. Look for checkout along path to src.
|
||||
+ const allowNesting = false
|
||||
+ repoDir, vcsCmd, err = vcs.FromDir(p.Dir, p.Internal.Build.SrcRoot, allowNesting)
|
||||
+
|
||||
+ repoDir, vcsCmd, err = vcs.FromDir(p.Dir, p.Internal.Build.SrcRoot)
|
||||
+ if err != nil {
|
||||
+ return err
|
||||
+ }
|
||||
|
||||
@@ -451,8 +451,8 @@ func downloadPackage(p *load.Package) error {
|
||||
|
||||
if p.Internal.Build.SrcRoot != "" {
|
||||
// Directory exists. Look for checkout along path to src.
|
||||
const allowNesting = false
|
||||
repoDir, vcsCmd, err = vcs.FromDir(p.Dir, p.Internal.Build.SrcRoot, allowNesting)
|
||||
|
||||
repoDir, vcsCmd, err = vcs.FromDir(p.Dir, p.Internal.Build.SrcRoot)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user