Skip to content

Commit

Permalink
Fix hot-reload make target
Browse files Browse the repository at this point in the history
  • Loading branch information
dfangl committed Nov 25, 2024
1 parent 4ba0e2e commit c5080af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ clean: ## Clean up any temporary files
rm *.zip

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

.PHONY: usage deploy web save-state load-state clean
2 changes: 1 addition & 1 deletion lambdas/scoring/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from decimal import Decimal, getcontext

def lambda_handler(event, context):
# raise Exception()
raise Exception()
getcontext().prec = 6

dynamodb = boto3.resource('dynamodb')
Expand Down

0 comments on commit c5080af

Please sign in to comment.