Skip to content

Commit

Permalink
fix: sh-checker supported errors
Browse files Browse the repository at this point in the history
  • Loading branch information
DDSRem committed Dec 17, 2024
1 parent b9a878c commit 5e00529
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion all_in_one.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3876,7 +3876,7 @@ function xiaoya_emd_pathlib() {
eval "user_path_array=($user_paths)"
# shellcheck disable=SC2154
for j in "${!user_path_array[@]}"; do
if [[ "${user_path_array[$j]}" -eq "${user_path_array[$j]}" ]] 2>/dev/null; then
if [[ "${user_path_array[$j]}" -eq "${user_path_array[$j]}" ]] 2> /dev/null; then
for i in "${!emd_all_paths[@]}"; do
if [[ "$((i + 1))" == "${user_path_array[$j]}" ]]; then
if grep -q "^${emd_all_paths[$i]}$" "${PATHLIB_DIR}"; then
Expand Down

0 comments on commit 5e00529

Please sign in to comment.