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.
This commit is contained in:
Cameron Moore authored and Bjørn Erik Pedersen committed 2018-08-30 22:31:29 +02:00
1 parent e03eb90a36
commit 1ed8c36336
1 file changed
-2
-2
View File
@@ -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