From 1ed8c363367c2532014154e91eeade9b3a923f91 Mon Sep 17 00:00:00 2001 From: Cameron Moore Date: Tue, 28 Aug 2018 15:45:51 -0500 Subject: [PATCH] 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. --- hugolib/filesystems/basefs.go | 2 -- 1 file changed, 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