fix(mise): Fix generation for ~/.config/mise/config.toml

This commit is contained in:
2026-07-15 15:54:19 +02:00
parent 616de6d16f
commit e50a91edab
2 changed files with 3 additions and 6 deletions
+3 -3
View File
@@ -13,9 +13,9 @@
{{- range $tool := $toolsList }}
{{- /* Gestion fine du cas particulier de 'tea' mis en commentaire dans votre yaml */}}
{{- if eq $tool "tea" }}
tea = { version = "0.14.2", url = "https://gitea.com/gitea/tea/releases/download/v{{`{{ version }}`}}/tea-{{`{{ version }}`}}-{{`{{ os() }}`}}-{{`{{ arch(x64="amd64") }}`}}.xz" }
tea = { version = "0.14.2", url = "https://gitea.com/gitea/tea/releases/download/v{{`{{ version }}`}}/tea-{{`{{ version }}`}}-{{`{{ os() }}`}}-{{`{{ arch(x64=amd64) }}`}}.xz" }
{{- else }}
{{ $tool }} = "latest"
"{{ $tool }}" = "latest"
{{- end }}
{{- end }}
{{- end }}
@@ -27,7 +27,7 @@ tea = { version = "0.14.2", url = "https://gitea.com/gitea/tea/releases/download
# Outils individuels
{{- range $tool := $currentHost.tools }}
{{ $tool }} = "latest"
"{{ $tool }}" = "latest"
{{- end }}
{{- end }}
{{- end }}