We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 875c508 commit 384b367Copy full SHA for 384b367
src/util/isLambdaRuntimeEnvironment.ts
@@ -1,5 +1,5 @@
1
export default function isLambdaRuntimeEnvironment(): boolean {
2
- return ['AWS_Lambda_nodejs10.x', 'AWS_Lambda_nodejs12.x'].includes(
+ return ['AWS_Lambda_nodejs10.x', 'AWS_Lambda_nodejs12.x', 'AWS_Lambda_nodejs14.x'].includes(
3
process.env.AWS_EXECUTION_ENV as string
4
);
5
}
0 commit comments