You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(aws-serverless): Only auto-patch handler in CJS when loading awslambda-auto (#12392)
Guards the `tryPatcHandler` call by checking for the availability of
`require` (which is undefined in ESM). In ESM mode, this call fails because
`require` is not available. So let's not call it in this case.
0 commit comments