Skip to content

Commit

Permalink
Ensure handler is included in package
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamJHall committed Oct 13, 2023
1 parent 1e9262e commit 9f2aed8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/graphql-mesh-server/.npmignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
*.ts
!lib/handlers/*.ts
!assets/handlers/*.ts
!*.d.ts
!*.js

Expand Down
2 changes: 1 addition & 1 deletion packages/graphql-mesh-server/lib/pipeline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export class CodePipelineService extends Construct {

if (props.notificationArn) {
const notifier = new NodejsFunction(this, 'NotifierLambda', {
entry: path.resolve(__dirname, '../assets/notify-sns.ts'),
entry: path.resolve(__dirname, '../assets/handlers/notify-sns.ts'),
description: 'Lambda function to forward SNS messages to another account.',
runtime: Runtime.NODEJS_18_X,
handler: 'index.handler',
Expand Down

0 comments on commit 9f2aed8

Please sign in to comment.