mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-21 22:08:11 +00:00
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:
parent
e03eb90a36
commit
1ed8c36336
1 changed files with 0 additions and 2 deletions
|
@ -383,8 +383,6 @@ func (b *sourceFilesystemsBuilder) Build() (*SourceFilesystems, error) {
|
||||||
|
|
||||||
b.result.Resources = sfs
|
b.result.Resources = sfs
|
||||||
|
|
||||||
err = b.createStaticFs()
|
|
||||||
|
|
||||||
sfs, err = b.createFs(false, true, "", "")
|
sfs, err = b.createFs(false, true, "", "")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
|
Loading…
Add table
Reference in a new issue