shithub: hugo

Download patch

ref: 1ed8c363367c2532014154e91eeade9b3a923f91
parent: e03eb90a366159ed9ef9888246de87f283508866
author: Cameron Moore <[email protected]>
date: Tue Aug 28 11:45:51 EDT 2018

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.

--- a/hugolib/filesystems/basefs.go
+++ b/hugolib/filesystems/basefs.go
@@ -383,8 +383,6 @@
 
 	b.result.Resources = sfs
 
-	err = b.createStaticFs()
-
 	sfs, err = b.createFs(false, true, "", "")
 	if err != nil {
 		return nil, err