Skip to content

Commit fa48dc5

Browse files
committed
uses new bref command to invoke function locally
1 parent e406ca4 commit fa48dc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ bref-layers:
5757

5858
# INVOKE FUNCTIONS LOCALLY
5959
function-invoke-local:
60-
serverless invoke local --stage dev --function function --data "hello world"
60+
$(RUN) vendor/bin/bref local function '{"year": 2020}'
6161
.PHONY: function-invoke-local
6262

6363
# INVOKE FUNCTIONS ON AWS

0 commit comments

Comments
 (0)