diff --git a/src/base/BaseTwilio.ts b/src/base/BaseTwilio.ts index 05c0f02d6..ad701db82 100644 --- a/src/base/BaseTwilio.ts +++ b/src/base/BaseTwilio.ts @@ -75,7 +75,7 @@ namespace Twilio { constructor(username?: string, password?: string, opts?: ClientOpts) { this.opts = opts || {}; - this.env = this.opts.env || process.env; + this.env = this.opts.env || {}; this.username = username || this.env.TWILIO_ACCOUNT_SID ||