serverless-add-api-key
serverless-add-api-key copied to clipboard
Cannot read property 'config' of undefined
During deployment in Circle CI after updating to 4.2.0 I'm seeing the folowing error:
TypeError: Cannot read property 'config' of undefined
at Object.addApiKey (/home/circleci/project/node_modules/serverless-add-api-key/src/helper.js:286:31)
It looks like if for whatever reason provider.sdk
isn't populated then creating this new property for httpOptions
throws the error