Skip to content

Commit

Permalink
bugfix: fixed buggy assignment of default value
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonOldenhof committed May 10, 2023
1 parent a2678fa commit 6a8be36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/teamwork.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ teamwork::move_task_to_column() {

teamwork::add_comment() {
local -r body=$1
local -r notify=$2:-false
local -r notify="${2:-false}"

if [ "$ENV" == "test" ]; then
log::message "Test - Simulate request. Task ID: $TEAMWORK_TASK_ID - Comment: ${body//\"/}"
Expand Down

0 comments on commit 6a8be36

Please sign in to comment.