From a5f92224b586289fc72f0abdb68b08eef9f017db Mon Sep 17 00:00:00 2001 From: Colin McDonnell Date: Wed, 22 Mar 2023 15:01:01 -0700 Subject: Fix types (#2453) * WIP * WIP * WIP * WIP * Improve typechecking in type files * Fix typechecking * Update * Update submodule * CI for typechecking * Add ci * Update commands * Format after build * Dont use bunx * Rename job * Use nodemodules prettier * Update workflow * Use symlink * Debug * Debug * Clean up and rename jobs --- examples/lambda.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'examples/lambda.ts') diff --git a/examples/lambda.ts b/examples/lambda.ts index 66746ecad..ec4817817 100644 --- a/examples/lambda.ts +++ b/examples/lambda.ts @@ -9,6 +9,9 @@ const sourceDir = LAMBDA_TASK_ROOT; if (!sourceDir) { throw new Error("handler is not set"); } +if (!_HANDLER) { + throw new Error("handler is not set"); +} // don't care if this fails if (process.cwd() !== sourceDir) { -- cgit v1.2.3