Skip to content

Commit c5080af

Browse files
committed
Fix hot-reload make target
1 parent 4ba0e2e commit c5080af

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ clean: ## Clean up any temporary files
2020
rm *.zip
2121

2222
hot-reload:
23-
awslocal lambda update-function-code --function-name ScoringFunction --s3-bucket hot-reload --s3-key "$(pwd)/lambdas/scoring"
23+
awslocal lambda update-function-code --function-name ScoringFunction --s3-bucket hot-reload --s3-key "$$(pwd)/lambdas/scoring"
2424

2525
.PHONY: usage deploy web save-state load-state clean

lambdas/scoring/handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from decimal import Decimal, getcontext
44

55
def lambda_handler(event, context):
6-
# raise Exception()
6+
raise Exception()
77
getcontext().prec = 6
88

99
dynamodb = boto3.resource('dynamodb')

0 commit comments

Comments
 (0)