Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorNoah Campbell <noahcampbell@gmail.com>2013-10-02 01:27:09 +0400
committerNoah Campbell <noahcampbell@gmail.com>2013-10-08 20:37:50 +0400
commit94a3184ad0e037f9faefda2bc330503b01f21016 (patch)
tree2f88aad1963c47b4993366a4fe0fdaf8819f7f2a /source
parent5a66fa3954f8d4329b2a32fe77c74d953a3c6bb7 (diff)
Fixing up source code formatting.
Diffstat (limited to 'source')
-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
}