mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Add official pre-commit file-contents-sorter
Remove unneeded bash script sort-codespell-wordlist.sh https://github.com/pre-commit/pre-commit-hooks#file-contents-sorter
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
CODESPELL_WORDLIST="codespell.txt"
|
||||
temp_file=$(mktemp)
|
||||
sort <"${CODESPELL_WORDLIST}" | uniq >"${temp_file}"
|
||||
cat "${temp_file}" >"${CODESPELL_WORDLIST}"
|
||||
rm "${temp_file}"
|
||||
Reference in New Issue
Block a user