Fix concat with fingerprint regression
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Thu, 5 Sep 2019 16:03:00 +0000 (18:03 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Thu, 5 Sep 2019 17:59:49 +0000 (19:59 +0200)
commit3be2c25351b421a26ee1ff2a38cbab00280c0583
tree16f5d469b7fc0875cd01dd45ef5cb9285e21c468
parent5e660947757023434dd7a1ec8b8239c0577fd501
Fix concat with fingerprint regression

In Hugo 0.58 we optimized the transformers that only adjusted metadata, e.g. the fingerprint.

This depended on the source readers implementing `io.ReadSeeker`.

The reader produced by `concat` did that, but the implementation was buggy.

This commit fixes that.

Fixes #6309
hugolib/resource_chain_test.go
resources/resource_factories/bundler/bundler.go
resources/resource_factories/bundler/bundler_test.go [new file with mode: 0644]