Skip to content

Commit

Permalink
chore: comply to sh-checker
Browse files Browse the repository at this point in the history
  • Loading branch information
topazrn committed Jan 29, 2025
1 parent d9fffbf commit c0c6a76
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ani-cli
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,7 @@ download() {
play_episode() {
[ "$log_episode" = 1 ] && [ "$player_function" != "debug" ] && [ "$player_function" != "download" ] && command -v logger >/dev/null && logger -t ani-cli "${allanime_title}${ep_no}"
skip_flag="$(ani-skip -q "$mal_id" -e "$ep_no")"
skip_flag_arr=($skip_flag)
[ "$skip_intro" = 0 ] && skip_flag=${skip_flag_arr[0]}
[ "$skip_intro" = 0 ] && skip_flag=$(echo $skip_flag | cut -d ' ' -f 1)
[ -z "$episode" ] && get_episode_url
# shellcheck disable=SC2086
case "$player_function" in
Expand Down

0 comments on commit c0c6a76

Please sign in to comment.