Add FileInfo to resources created with resources.Match etc.
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Tue, 13 Aug 2019 16:45:08 +0000 (18:45 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Tue, 13 Aug 2019 16:45:08 +0000 (18:45 +0200)
commit1089cfe4e1c35bec1f269b8280da43b367b5d070
treec452b36a48fcc27ad57560935536146736f4a061
parentcd575023af846aa18ffa709f37bc70277e98cad3
Add FileInfo to resources created with resources.Match etc.

Without it, image resize fails.

See #6190
hugolib/image_test.go
resources/resource_factories/create/create.go