Skip to content

Commit 384b367

Browse files
authored
Added AWS_Lambda_nodejs14.x
1 parent 875c508 commit 384b367

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)