summaryrefslogtreecommitdiffstats
path: root/source/filesystem.go
diff options
context:
space:
mode:
Diffstat (limited to 'source/filesystem.go')
-rw-r--r--source/filesystem.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/filesystem.go b/source/filesystem.go
index d089c143e..abec4bad4 100644
--- a/source/filesystem.go
+++ b/source/filesystem.go
@@ -27,7 +27,9 @@ type Filesystem struct {
}
func (f *Filesystem) Files() []*File {
- if len(f.files)<1 {f.captureFiles()}
+ if len(f.files) < 1 {
+ f.captureFiles()
+ }
return f.files
}