Skip to content

Commit

Permalink
Sorts label css
Browse files Browse the repository at this point in the history
  • Loading branch information
qhuynh96 committed Sep 29, 2018
1 parent 77f580c commit 23bcaf0
Show file tree
Hide file tree
Showing 2 changed files with 379 additions and 377 deletions.
2 changes: 2 additions & 0 deletions label_sync/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -868,5 +868,7 @@ func writeCSS(tmplPath string, outPath string, config Configuration) error {
Name: cssEscape(l.Name),
})
}
sort.Slice(labelCSS, func(i, j int) bool { return labelCSS[i].Name < labelCSS[j].Name })

return writeTemplate(tmplPath, outPath, labelCSS)
}
Loading

0 comments on commit 23bcaf0

Please sign in to comment.