diff options
Diffstat (limited to 'resources/resource_spec.go')
-rw-r--r-- | resources/resource_spec.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/resource_spec.go b/resources/resource_spec.go index 1659332ab..c29d2eaf9 100644 --- a/resources/resource_spec.go +++ b/resources/resource_spec.go @@ -274,7 +274,7 @@ func (r *Spec) newResource(sourceFs afero.Fs, fd ResourceSourceDescriptor) (reso ext := strings.ToLower(filepath.Ext(fd.RelTargetFilename)) mimeType, found := r.MediaTypes.GetFirstBySuffix(strings.TrimPrefix(ext, ".")) - // TODO(bep) we need to handle these ambigous types better, but in this context + // TODO(bep) we need to handle these ambiguous types better, but in this context // we most likely want the application/xml type. if mimeType.Suffix() == "xml" && mimeType.SubType == "rss" { mimeType, found = r.MediaTypes.GetByType("application/xml") |