Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
async run() {
await super.run();
let { flags, args } = this.parse(FunctionsInit);
flags = normalizeFlags(flags);
const opts = Object.assign({}, flags, args);
opts.accountSid = flags.accountSid || this.twilioClient.username;
opts.authToken = flags.authToken || this.twilioClient.password;
opts.path = process.cwd();
opts.skipCredentials = true;
return handler(opts);
}
}