ref: 8ce4bc7ab8ab5cf8347bcdcc2088877c92aab3cc
parent: 94d7fe52f87a3188a27767433e7a07f5ada84988
author: windch <[email protected]>
date: Mon Sep 30 10:05:19 EDT 2013
Update filesystem.go bugfix: .Files() called twice in line 253, 256 in site.go. thus source files captured twice. Signed-off-by: Noah Campbell <[email protected]>
--- a/source/filesystem.go
+++ b/source/filesystem.go
@@ -27,7 +27,7 @@
}
func (f *Filesystem) Files() []*File {
- f.captureFiles()
+ if len(f.files)<1 {f.captureFiles()}
return f.files
}