Skip to content

Commit

Permalink
typo in event modes
Browse files Browse the repository at this point in the history
  • Loading branch information
jsdtaylor committed May 19, 2020
1 parent f577ff2 commit 7394fe1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ const run = async (filename, action) => {
exports.handler = async (event) => {
if (event.mode === "delete")
await run("teardown.json", "delete");
await run("teardown.json", "Delete");
if (event.mode === "create" || event.mode === "update")
await run("setup.json", "put");
await run("setup.json", "Put");
}`),
});
destinationBucket.grantRead(fn);
Expand Down

0 comments on commit 7394fe1

Please sign in to comment.