Skip to content

Commit 5d0cf80

Browse files
committed
added handler
1 parent dd5a22c commit 5d0cf80

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

run.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,8 @@ var ctx;
3131
exports.handle = function(event, context) {
3232
ctx = context
3333

34-
proc.stdin.write("Hello World!");
34+
proc.stdin.write(JSON.stringify({
35+
'event': event,
36+
'context': context
37+
}));
3538
}

0 commit comments

Comments
 (0)