chore: bump dev deps (#1398)

* chore: bump dev deps
* chore: fix shellcheck warnings

Co-authored-by: Trevor Brown <admin@stratus3d.com>
This commit is contained in:
James Hegedus 2022-12-30 07:24:24 +11:00 committed by GitHub
parent 6728404450
commit ea26947c0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 6 deletions

View File

@ -1,4 +1,4 @@
bats 1.7.0
shellcheck 0.8.0
shfmt 3.5.1
python 3.10.9
bats 1.8.2
shellcheck 0.9.0
shfmt 3.6.0
python 3.11.1

View File

@ -150,7 +150,7 @@ plugin_test_command() {
"$@"
exit_code=$?
if [ $exit_code != 0 ]; then
fail_test "$* failed with exit code $?"
fail_test "$* failed with exit code $exit_code"
fi
fi

View File

@ -765,7 +765,9 @@ with_shim_executable() {
IFS=' ' read -r plugin_name full_version <<<"$selected_version"
plugin_path=$(get_plugin_path "$plugin_name")
run_within_env() {
# This function does get invoked, but shellcheck sees it as unused code
# shellcheck disable=SC2317
function run_within_env() {
local path
path=$(remove_path_from_path "$PATH" "$(asdf_data_dir)/shims")