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
diff options
context:
space:
mode:
authorCameron Moore <moorereason@gmail.com>2018-08-28 23:45:51 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-08-30 23:31:29 +0300
commit1ed8c363367c2532014154e91eeade9b3a923f91 (patch)
treeb23853e0349a9668fc00a933c4554575a7fdd698 /hugolib
parente03eb90a366159ed9ef9888246de87f283508866 (diff)
hugolib: Remove extraneous createStaticFs call
This looks like a copy+paste error. We have the same line a few lines below this call and we actually handle the err value there.
Diffstat (limited to 'hugolib')
-rw-r--r--hugolib/filesystems/basefs.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/hugolib/filesystems/basefs.go b/hugolib/filesystems/basefs.go
index ad69ddcc8..c8d568270 100644
--- a/hugolib/filesystems/basefs.go
+++ b/hugolib/filesystems/basefs.go
@@ -383,8 +383,6 @@ func (b *sourceFilesystemsBuilder) Build() (*SourceFilesystems, error) {
b.result.Resources = sfs
- err = b.createStaticFs()
-
sfs, err = b.createFs(false, true, "", "")
if err != nil {
return nil, err