mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-18 22:21:15 -03:00
lint: disable incorrect warning about unused fn
`cleanup` is used via `trap`. Part of #12636
This commit is contained in:
committed by
Johannes Altmanninger
parent
da924927a0
commit
4790a444d8
@@ -60,6 +60,7 @@ cargo() {
|
||||
fi
|
||||
}
|
||||
|
||||
# shellcheck disable=2329
|
||||
cleanup () {
|
||||
if [ -n "$gettext_template_dir" ] && [ -e "$gettext_template_dir" ]; then
|
||||
rm -r "$gettext_template_dir"
|
||||
|
||||
Reference in New Issue
Block a user