๐Ÿ“ฆโž”๐Ÿฆ‹ Store and retrieve files on the Atmosphere
37
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix various shellcheck issues

+4 -1
+3 -1
src/shared/die.sh
··· 3 3 function atfile.die() { 4 4 message="$1" 5 5 6 + # shellcheck disable=SC2154 6 7 if [[ $_output_json != 1 ]]; then 7 8 atfile.say.die "$message" 8 9 else 9 10 echo -e "{ \"error\": \"$1\" }" | jq 10 11 fi 11 12 13 + # shellcheck disable=SC2154 12 14 [[ $_is_sourced == 0 ]] && exit 255 13 15 } 14 16 ··· 50 52 51 53 function atfile.die.unknown_command() { 52 54 command="$1" 53 - atfile.die "Unknown command '$1'" 55 + atfile.die "Unknown command '$command'" 54 56 }
+1
src/shared/invoke.sh
··· 5 5 shift 6 6 args=("$@") 7 7 8 + # shellcheck disable=SC2154 8 9 if [[ $_is_sourced == 0 ]] && [[ $ATFILE_DEVEL_NO_INVOKE != 1 ]]; then 9 10 atfile.say.debug "Invoking '$command'...\nโ†ณ Arguments: ${args[*]}" 10 11