Skip to content

Commit

Permalink
fix(package-command): add return keywork right before exit code
Browse files Browse the repository at this point in the history
  • Loading branch information
yunielrc committed Oct 12, 2023
1 parent 12c3083 commit aee3388
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ ydf::package_command::__install() {
packages="$*"

if [[ -f "${packages_dir}/${packages}" ]]; then
packages="$(ydf::utils::text_file_to_words "${packages_dir}/${packages}")" || $?
packages="$(ydf::utils::text_file_to_words "${packages_dir}/${packages}")" || return $?
fi

readonly packages
Expand Down

0 comments on commit aee3388

Please sign in to comment.