commit 1ed8c363367c2532014154e91eeade9b3a923f91
parent e03eb90a366159ed9ef9888246de87f283508866
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:
1 file changed, 0 insertions(+), 2 deletions(-)
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