Skip to content

Commit

Permalink
fix: trimspace
Browse files Browse the repository at this point in the history
  • Loading branch information
davlgd committed Jan 6, 2025
1 parent e50aff8 commit 1d078cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/markdown/include_runtimes_versions.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

{{- range $runtimeFound := findRE $runtimesPattern $content -}}

Check failure on line 4 in layouts/partials/markdown/include_runtimes_versions.md

View workflow job for this annotation

GitHub Actions / vale

[vale] layouts/partials/markdown/include_runtimes_versions.md#L4

[Vale.Spelling] Did you really mean 'runtimeFound'?
Raw output
{"message": "[Vale.Spelling] Did you really mean 'runtimeFound'?", "location": {"path": "layouts/partials/markdown/include_runtimes_versions.md", "range": {"start": {"line": 4, "column": 12}}}, "severity": "ERROR"}
{{- $runtime := replaceRE $runtimesPattern "$1" $runtimeFound -}}
{{- $runtime := lower (strings.TrimSpace $runtime) -}}
{{- $runtime = lower (strings.TrimSpace $runtime) -}}

Check failure on line 6 in layouts/partials/markdown/include_runtimes_versions.md

View workflow job for this annotation

GitHub Actions / vale

[vale] layouts/partials/markdown/include_runtimes_versions.md#L6

[Google.Spacing] 's.T' should have one space.
Raw output
{"message": "[Google.Spacing] 's.T' should have one space.", "location": {"path": "layouts/partials/markdown/include_runtimes_versions.md", "range": {"start": {"line": 6, "column": 33}}}, "severity": "ERROR"}
{{- $versions := index site.Data.runtime_versions $runtime -}}

Check failure on line 7 in layouts/partials/markdown/include_runtimes_versions.md

View workflow job for this annotation

GitHub Actions / vale

[vale] layouts/partials/markdown/include_runtimes_versions.md#L7

[Google.Spacing] 'e.D' should have one space.
Raw output
{"message": "[Google.Spacing] 'e.D' should have one space.", "location": {"path": "layouts/partials/markdown/include_runtimes_versions.md", "range": {"start": {"line": 7, "column": 31}}}, "severity": "ERROR"}
{{- $output := "" -}}

Expand Down

0 comments on commit 1d078cb

Please sign in to comment.