Fix build errors

This commit is contained in:
Vorapol Rinsatitnon
2025-07-10 22:50:11 +07:00
parent 5f4d34edc5
commit c26899a250
2 changed files with 4 additions and 4 deletions

View File

@@ -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
+ }