hugolib: Remove extraneous createStaticFs call - hugo - [fork] hugo port for 9front
HTML git clone git@git.drkhsh.at/hugo.git
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
DIR commit 1ed8c363367c2532014154e91eeade9b3a923f91
DIR parent e03eb90a366159ed9ef9888246de87f283508866
HTML Author: Cameron Moore <moorereason@gmail.com>
Date: Tue, 28 Aug 2018 15:45:51 -0500
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:
M hugolib/filesystems/basefs.go | 2 --
1 file changed, 0 insertions(+), 2 deletions(-)
---
DIR diff --git 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