Skip to content

Commit

Permalink
damn you, trailing comma!
Browse files Browse the repository at this point in the history
  • Loading branch information
ladydascalie committed Jan 31, 2019
1 parent 1bec9dd commit afb4cc8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/swift.txt
Expand Up @@ -20,7 +20,7 @@ class Currencies {
[
{{- $n := len . }}
{{ range $k, $v := . -}}
"{{$v.Code}}": {{$v.Code}}{{if eq (inc $k) $n}}{{else}}{{if $k}},{{end}}{{end}}
"{{$v.Code}}": {{$v.Code}}{{if eq (inc $k) $n}}{{else}}{{if $k}},{{end}}{{if eq $k 0}},{{end}}{{end}}
{{ end -}}
]

Expand Down
2 changes: 1 addition & 1 deletion std.swift
Expand Up @@ -195,7 +195,7 @@ class Currencies {

static let allCurrencies: [String: Currency] =
[
"AED": AED
"AED": AED,
"AFN": AFN,
"ALL": ALL,
"AMD": AMD,
Expand Down

0 comments on commit afb4cc8

Please sign in to comment.