Remove hacky code related to changing CWD

This commit is contained in:
Maciej Pędzich 2023-07-06 14:38:30 +02:00
parent 97395686b0
commit 90ca620044
3 changed files with 2 additions and 8 deletions

View File

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

View File

@ -1,9 +1,3 @@
import { readdirSync } from 'fs';
console.log(readdirSync('/var/task'));
process.chdir('/var/task');
import {
createProbot,
createLambdaFunction

View File

@ -3,7 +3,7 @@
"target": "esnext",
"module": "commonjs",
"rootDir": "./",
"outDir": "./dist",
"noEmit": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"strict": true,