Skip to content

Commit

Permalink
fix: event trigger eval
Browse files Browse the repository at this point in the history
  • Loading branch information
adhocore committed Aug 16, 2019
1 parent 8bba659 commit a0f3d47
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion please
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,8 @@ trigger() # $1 = event
if [[ "$CMD" != "" ]]; then
echo "$(info Running) $(ok "$EVENT")"
comment "> $CMD"
eval "${CMD//{/\${}"
eval "CMD=\"${CMD//{/\${}\""
eval "${CMD}"
fi
}
Expand Down

0 comments on commit a0f3d47

Please sign in to comment.