make warning ignorable
This commit is contained in:
parent
7210d1c959
commit
728e840dc5
2 changed files with 2 additions and 1 deletions
|
@ -66,3 +66,4 @@ markup:
|
||||||
|
|
||||||
ignoreErrors:
|
ignoreErrors:
|
||||||
- "missing-cite"
|
- "missing-cite"
|
||||||
|
- "size-set-on-non-resizable"
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
{{- warnf "Requested size %s is more than image width %d (%q)" $width $img.Width $img.File.Path -}}
|
{{- warnf "Requested size %s is more than image width %d (%q)" $width $img.Width $img.File.Path -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
{{- warnf "Size set on non-resizable image of type %s; ignoring" $img.MediaType.SubType -}}
|
{{- warnidf "size-set-on-non-resizable" "Size set on non-resizable image of type %s; ignoring" $img.MediaType.SubType -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue