deno-lambda icon indicating copy to clipboard operation
deno-lambda copied to clipboard

allow option to run with `--check`

Open kyeotic opened this issue 3 years ago • 3 comments
trafficstars

Deno has a flag to run without type-checking, which is useful for lambdas that have already been type-checked. There are already several DENO ENV VARs to configure behavior, a DENO_NOCHECK or more flexible DENO_FLAGS would be useful here.

kyeotic avatar May 25 '22 21:05 kyeotic

Currently --no-check is always passed:

https://github.com/hayd/deno-lambda/blob/b2e02b0158282b200cbc5e2bd238403cb22b1ed6/runtime/bootstrap#L22

happy to submission of this, BUT I think --no-check is deprecated and deno is moving to --check (so flag should be DENO_CHECK). Potentially we should support --check=all etc.

https://github.com/denoland/deno/pull/14691

hayd avatar May 25 '22 23:05 hayd

Sounds good

kyeotic avatar May 26 '22 15:05 kyeotic

Will keep this open til it's implemented :)

hayd avatar May 26 '22 16:05 hayd