Skip to content

Commit 993db8c

Browse files
author
Graham Krizek
committed
Capture event data in example.sh
1 parent a3c20ec commit 993db8c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

example.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
handler () {
33
set -e
44

5+
# Event Data is sent as the first parameter
6+
EVENT_DATA=$1
7+
58
# This is the Event Data
69
echo $EVENT_DATA
710

0 commit comments

Comments
 (0)