diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-09-03 09:22:36 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-09-03 09:22:42 +0200 |
commit | 0cc936583ba14b2dc6451843f897abbf550cf091 (patch) | |
tree | c7ae5dd51d620e1a2831ad151b762ca9aff0dfd4 /resource/bundler | |
parent | c15c7da42a1c7bc535cc16cca2b341526f8cf169 (diff) |
resource: Fix broken build
Diffstat (limited to 'resource/bundler')
-rw-r--r-- | resource/bundler/bundler.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/resource/bundler/bundler.go b/resource/bundler/bundler.go index 4b1718b0d..39ce9b521 100644 --- a/resource/bundler/bundler.go +++ b/resource/bundler/bundler.go @@ -19,6 +19,7 @@ import ( "io" "path/filepath" + "github.com/gohugoio/hugo/common/hugio" "github.com/gohugoio/hugo/media" "github.com/gohugoio/hugo/resource" ) @@ -36,7 +37,7 @@ func New(rs *resource.Spec) *Client { type multiReadSeekCloser struct { mr io.Reader - sources []resource.ReadSeekCloser + sources []hugio.ReadSeekCloser } func (r *multiReadSeekCloser) Read(p []byte) (n int, err error) { @@ -75,8 +76,8 @@ func (c *Client) Concat(targetPath string, resources resource.Resources) (resour resolvedm = r.MediaType() } - concatr := func() (resource.ReadSeekCloser, error) { - var rcsources []resource.ReadSeekCloser + concatr := func() (hugio.ReadSeekCloser, error) { + var rcsources []hugio.ReadSeekCloser for _, s := range resources { rcr, ok := s.(resource.ReadSeekCloserResource) if !ok { |