aboutsummaryrefslogtreecommitdiffstats
path: root/submodule.go
diff options
context:
space:
mode:
Diffstat (limited to 'submodule.go')
-rw-r--r--submodule.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/submodule.go b/submodule.go
index ac027c2..fbaddfd 100644
--- a/submodule.go
+++ b/submodule.go
@@ -115,7 +115,7 @@ func (s *Submodule) Repository() (*Repository, error) {
}
var worktree billy.Filesystem
- if worktree, err = s.w.fs.Chroot(s.c.Path); err != nil {
+ if worktree, err = s.w.Filesystem.Chroot(s.c.Path); err != nil {
return nil, err
}