Skip to content

Commit 77c4e5f

Browse files
committed
update docs for running lambda locally
1 parent 3f705c7 commit 77c4e5f

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

ab-testing/notification-lambda/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ install dependencies:
2020
pnpm install
2121
```
2222

23-
Call the `run.ts` script, (be sure to announce you're using the CODE stage in the semaphore chat channel):
23+
Call the `run.ts` script (this will send emails to owners of tests which are close to expiry or which have expired in your local [/ab-testing/config/abTests.ts](/ab-testing/config/abTests.ts) file):
2424

2525
```bash
26-
STAGE=CODE node src/run.ts
26+
node src/run.ts
2727
```

ab-testing/notification-lambda/src/run.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
* Run the lambda handler locally using frontend AWS account credentials
44
*
55
* Usage:
6-
* STAGE=CODE node src/run.ts
7-
* STAGE=PROD node src/run.ts
6+
* node src/run.ts
87
*
98
* Prerequisites:
109
* - AWS credentials for the frontend account must be configured

0 commit comments

Comments
 (0)