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 594afa5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 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.

4 changes: 2 additions & 2 deletions 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 All @@ -13,7 +13,7 @@
"main": "main.js",
"repository": {
"type": "git",
"url": "https://github.com/magnetikonline/edgy.git"
"url": "git+https://github.com/magnetikonline/edgy.git"
},
"devDependencies": {
"eslint": "^8.57.0"
Expand Down

0 comments on commit 594afa5

Please sign in to comment.