Skip to content

Commit 50fbdd7

Browse files
committed
adjust check for localdev
1 parent b7e811b commit 50fbdd7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ logs:
6363
setup-challenge:
6464
yarn install
6565
make build
66-
IS_LOCAL_DEV=true make bootstrap
66+
make bootstrap
6767
IS_LOCAL_DEV=true make deploy
6868
make prepare-frontend-local
6969
make hotreload

packages/infra/cdk/notes-api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export class NotesApi extends Construct {
2121

2222
const { table, grantActions } = props;
2323

24-
const isLocalDev = process.env.IS_LOCAL_DEV;
24+
const isLocalDev = ["true", true].includes(process.env.IS_LOCAL_DEV);
2525

2626
const codeConfig = isLocalDev
2727
? lambda.Code.fromBucket(

0 commit comments

Comments
 (0)