It is almost certainly absent, in which case the behaviour is the same as
it was prior to this commit. This commit only affects the situation where
it is present and the preceding sources are not.
@@ -5,7 +5,9 @@ import {AWSRegion} from './aws-regions';
function getCurrentAWSRegion(): AWSRegion {
// MUST be called after configureAWS()
// this cast is only safe after that
const region = (aws.config.region || process.env.AWS_REGION) as AWSRegion; // tslint:disable-line
const region = (aws.config.region ||
process.env.AWS_REGION ||
process.env.AWS_DEFAULT_REGION) as AWSRegion; // tslint:disable-line
Can AWS_DEFAULT_REGION be absent? Should there be a check and throw if it
fails?
It is almost certainly absent, in which case the behaviour is the same as it was prior to this commit. This commit only affects the situation where it is present and the preceding sources are not.
On Fri, May 10, 2019 at 4:26 PM tuff notifications@github.com wrote: