mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-01 04:41:14 -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
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# shellcheck disable=2329
|
||||||
cleanup () {
|
cleanup () {
|
||||||
if [ -n "$gettext_template_dir" ] && [ -e "$gettext_template_dir" ]; then
|
if [ -n "$gettext_template_dir" ] && [ -e "$gettext_template_dir" ]; then
|
||||||
rm -r "$gettext_template_dir"
|
rm -r "$gettext_template_dir"
|
||||||
|
|||||||
Reference in New Issue
Block a user