summaryrefslogtreecommitdiffstats
path: root/resource/bundler/bundler.go
diff options
context:
space:
mode:
Diffstat (limited to 'resource/bundler/bundler.go')
-rw-r--r--resource/bundler/bundler.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/resource/bundler/bundler.go b/resource/bundler/bundler.go
index 2f3981485..a86b39efa 100644
--- a/resource/bundler/bundler.go
+++ b/resource/bundler/bundler.go
@@ -70,7 +70,7 @@ func (c *Client) Concat(targetPath string, resources []resource.Resource) (resou
// The given set of resources must be of the same Media Type.
// We may improve on that in the future, but then we need to know more.
for i, r := range resources {
- if i > 0 && r.MediaType() != resolvedm {
+ if i > 0 && r.MediaType().Type() != resolvedm.Type() {
return nil, errors.New("resources in Concat must be of the same Media Type")
}
resolvedm = r.MediaType()