File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 66{{ end -}}
77{{ $page := .Site.GetPage $pageRef -}}
88{{ if not $page -}}
9- {{ errorf "spec_status: Can't find page at '%s'." $pageRef -}}
9+ {{ warnf "spec_status: Can't find page at '%s'." $pageRef -}}
1010{{ end -}}
1111
1212{{ $_match := .Get 2 | default "Status" -}}
1717 {{/* Note that content is in HTML. */ -}}
1818 {{ $statusLine = index . 0 -}}
1919{{ else -}}
20- {{ errorf "%s: page '%s' does not contain a line matching '%s'." $err $pageRef $_match -}}
20+ {{ warnf "%s: page '%s' does not contain a line matching '%s'." $err $pageRef $_match -}}
2121{{ end -}}
2222
2323{{ $status := "" -}}
3030{{ with findRE $statusRE $statusLine -}}
3131 {{ $status = index . 0 -}}
3232{{ else -}}
33- {{ errorf "%s: '%s' value did not match one of '%s' in file '%s': matched line is '%s'" $err $_match $statusValueRE $pageRef $statusLine -}}
33+ {{ warnf "%s: '%s' value did not match one of '%s' in file '%s': matched line is '%s'" $err $_match $statusValueRE $pageRef $statusLine -}}
34+ {{ $status = "[STATUS ACCESS FAILURE DURING SITE BUILD]" -}}
3435{{ end -}}
3536
3637**[{{ $label }}]({{ $page.RelPermalink }}):** {{ lower $status -}}
You can’t perform that action at this time.
0 commit comments