Skip to content

Commit

Permalink
explicitly indicate that 'command' is a string
Browse files Browse the repository at this point in the history
  • Loading branch information
a1346054 committed Aug 12, 2021
1 parent ec9c1be commit 17723d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion todo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1040,7 +1040,7 @@ action=$(printf "%s\n" "$ACTION" | tr '[:upper:]' '[:lower:]')
# using todo.sh builtins.
# Else, run a actions script with the name of the command if it exists
# or fallback to using a builtin
if [ "$action" == command ]; then
if [ "$action" == "command" ]; then
# Get rid of "command" from arguments list
shift
# Reset action to new first argument
Expand Down

0 comments on commit 17723d5

Please sign in to comment.