mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-18 22:21:15 -03:00
lint: disable warning about variable export
Here, we want `"$@"` to be expanded, since its components are the arguments we want to pass to `export`. Part of #12636
This commit is contained in:
committed by
Johannes Altmanninger
parent
732c04420b
commit
29ff2fdd43
@@ -125,6 +125,7 @@ fi
|
||||
|
||||
# Using "()" not "{}" because we do want a subshell (for the export)
|
||||
system_tests() (
|
||||
# shellcheck disable=2163
|
||||
[ -n "$*" ] && export "$@"
|
||||
# shellcheck disable=2031
|
||||
export FISH_GETTEXT_EXTRACTION_DIR="$gettext_template_dir"
|
||||
|
||||
Reference in New Issue
Block a user