Specify local files to include

This commit is contained in:
Maciej Pędzich 2023-07-06 12:02:29 +02:00
parent a0dd3ccd0d
commit ddb5c752ac
3 changed files with 2 additions and 1 deletions

View File

View File

@ -1,2 +1,3 @@
[functions]
included_files = ["appFn.ts", "getPlaylistIdFromUrl.ts"]
external_node_modules = ["@probot/adapter-aws-lambda-serverless", "probot", "express", "keyv", "formidable"]

View File

@ -3,7 +3,7 @@ import {
createProbot
} from '@probot/adapter-aws-lambda-serverless';
import { appFn } from '../../app';
import { appFn } from '../../appFn';
const privateKey = (process.env.PRIVATE_KEY as string).replace(/\\n/gm, '\n');