fix(repo-card): add missing dollar sign

This commit is contained in:
ZhenShuo Leo
2025-08-03 05:48:51 +08:00
parent ec912c4a92
commit 96d164265f
5 changed files with 10 additions and 10 deletions

View File

@@ -3,11 +3,11 @@
{{- $gitLabData := dict -}}
{{- with try (resources.GetRemote $gitlabURL) -}}
{{- with .Err -}}
{{- warnf "gitlab shortcode: failed to fetch remote resource from %q: %s" $gitlabURL .Position -}}
{{- warnf "gitlab shortcode: failed to fetch remote resource from %q: %s" $gitlabURL $.Position -}}
{{- else with .Value -}}
{{- $gitLabData = . | transform.Unmarshal -}}
{{- else -}}
{{- warnf "gitlab shortcode: unable to get remote resource from %q: %s" $gitlabURL .Position -}}
{{- warnf "gitlab shortcode: unable to get remote resource from %q: %s" $gitlabURL $.Position -}}
{{- end -}}
{{- end -}}