try to replace

This commit is contained in:
kuoi 2022-01-05 03:28:04 +00:00 committed by GitHub
parent 88cf6706ad
commit 6104ffa734
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,7 +11,7 @@ MATRIX
END;
BEGIN SETS;
{{- range $_, $i := .Charset }}
CHARSET {{ $i.Name }} = {{ $i.From }}-{{ $i.To }};
CHARSET {{ replace $i.Name ".fas" "" }} = {{ $i.From }}-{{ $i.To }};
{{- end }}
END;
`