`isInAws` always returns `false`
meirna opened this issue · comments
Hey guys, thanks for this library!
I'm having an issue with isInAws
function: it always returns false
, even in AWS Lambda.
It works for me if I change the condition to:
function isInAWS() {
return typeof awslambda !== 'undefined';
}
Do you know what might be the reason for this?
Same
Hey folks, thanks for flagging this - I was traveling the last few weeks. I'll take a look soon.
I copied this from code we used in datadog's instrumentation which as far as I know still works, however the runtime can always change on us.
Thanks!
Published in v0.4.0