walk submodule path instead of dir name (#1282)
* walk submodule path instead of dir name * use file path instead of relative path Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
parent
5f5b8959d6
commit
9d76bac4ef
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ func (fc *fileCollector) collectFiles(ctx context.Context, submodulePath []strin
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if err == nil && entry.Mode == filemode.Submodule {
|
if err == nil && entry.Mode == filemode.Submodule {
|
||||||
err = fc.Fs.Walk(fi.Name(), fc.collectFiles(ctx, split))
|
err = fc.Fs.Walk(file, fc.collectFiles(ctx, split))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue