We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f6fcafd + cdb2456 commit 63d3e8eCopy full SHA for 63d3e8e
bin/helpers/usageReporting.js
@@ -173,7 +173,7 @@ function isUsageReportingEnabled() {
173
}
174
175
function redactBsConfig(bsConfig) {
176
- if(typeof bsConfig === 'object' && !utils.isUndefined(bsConfig.run_settings)) {
+ if(typeof bsConfig === 'object' && !utils.isUndefined(bsConfig) && !utils.isUndefined(bsConfig.run_settings)) {
177
if(!utils.isUndefined(bsConfig.run_settings["projectId"])) { bsConfig.run_settings["projectId"] = REDACTED }
178
if(!utils.isUndefined(bsConfig.run_settings["record-key"])) { bsConfig.run_settings["record-key"] = REDACTED }
179
0 commit comments