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

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