Skip to content

Commit

Permalink
Rename s/s3/S3 in raised error message
Browse files Browse the repository at this point in the history
  • Loading branch information
magnetikonline committed May 10, 2024
1 parent 5c7e528 commit a2a008f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib.js
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ function setEdgeEventOriginS3(event,domainName,region,path) {
// verify S3 origin path
path = (path || '');
if (!isValidOriginPath(path)) {
throw new Error(`s3 origin path must be empty or begin, but not end with forward slash - got [${path}]`);
throw new Error(`S3 origin path must be empty or begin, but not end with forward slash - got [${path}]`);
}

cfEventData(event).request.origin = {
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@magnetikonline/edgy",
"version": "1.3.0",
"version": "1.3.1",
"description": "Harness for authoring tests against AWS CloudFront Lambda@Edge functions.",
"keywords": [
"aws",
Expand Down

0 comments on commit a2a008f

Please sign in to comment.