summaryrefslogtreecommitdiffstats
path: root/source/fileInfo.go
diff options
context:
space:
mode:
Diffstat (limited to 'source/fileInfo.go')
-rw-r--r--source/fileInfo.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fileInfo.go b/source/fileInfo.go
index 9adb96df4..31885bfd4 100644
--- a/source/fileInfo.go
+++ b/source/fileInfo.go
@@ -220,7 +220,7 @@ func (sp *SourceSpec) NewFileInfo(baseDir, filename string, isLeafBundle bool, f
// Open implements ReadableFile.
func (fi *FileInfo) Open() (io.ReadCloser, error) {
- f, err := fi.sp.PathSpec.Fs.Source.Open(fi.Filename())
+ f, err := fi.sp.SourceFs.Open(fi.Filename())
return f, err
}