Skip to content

Commit 45de9a8

Browse files
Merge pull request #34 from s12v/patch-1
Added AWS_Lambda_nodejs14.x runtime
2 parents 875c508 + 384b367 commit 45de9a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export default function isLambdaRuntimeEnvironment(): boolean {
2-
return ['AWS_Lambda_nodejs10.x', 'AWS_Lambda_nodejs12.x'].includes(
2+
return ['AWS_Lambda_nodejs10.x', 'AWS_Lambda_nodejs12.x', 'AWS_Lambda_nodejs14.x'].includes(
33
process.env.AWS_EXECUTION_ENV as string
44
);
55
}

0 commit comments

Comments
 (0)