mirror of
https://github.com/maciejpedzich/playlist-entry-validator.git
synced 2024-11-27 16:05:48 +01:00
Remove hacky code related to changing CWD
This commit is contained in:
parent
97395686b0
commit
90ca620044
@ -1,3 +1,3 @@
|
|||||||
[functions]
|
[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"]
|
external_node_modules = ["@probot/adapter-aws-lambda-serverless", "probot", "express", "keyv", "formidable"]
|
@ -1,9 +1,3 @@
|
|||||||
import { readdirSync } from 'fs';
|
|
||||||
|
|
||||||
console.log(readdirSync('/var/task'));
|
|
||||||
|
|
||||||
process.chdir('/var/task');
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
createProbot,
|
createProbot,
|
||||||
createLambdaFunction
|
createLambdaFunction
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"target": "esnext",
|
"target": "esnext",
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"rootDir": "./",
|
"rootDir": "./",
|
||||||
"outDir": "./dist",
|
"noEmit": true,
|
||||||
"esModuleInterop": true,
|
"esModuleInterop": true,
|
||||||
"forceConsistentCasingInFileNames": true,
|
"forceConsistentCasingInFileNames": true,
|
||||||
"strict": true,
|
"strict": true,
|
||||||
|
Loading…
Reference in New Issue
Block a user