You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"GitHub is not configured. The `privateKey` and `webhookSecret` config fields are undefined."
207
+
"GitHub is not configured. The `privateKey` and `webhookSecret` config fields are undefined. You may remove the `github` config object to suppress this warning."
expect(log).not.toInclude("Slack is not configured");
230
+
expect(log).toInclude(
231
+
"GitHub is not configured. The `privateKey` and `webhookSecret` config fields are undefined. You may remove the `github` config object to suppress this warning."
232
+
);
233
+
expect(log).toInclude(
234
+
"Slack is not configured. The `botToken` config field is undefined. You may remove the `slack` config object to suppress this warning."
235
+
);
236
+
expect(log).toInclude(
237
+
"Web search is not configured. The `exaApiKey` config field is undefined. You may remove the `webSearch` config object to suppress this warning."
warnings.push(`GitHub is not configured. ${this.github.warningMessage}`);
236
+
warnings.push(
237
+
`GitHub is not configured. ${this.github.warningMessage} You may remove the \`github\` config object to suppress this warning.`
238
+
);
241
239
}
242
240
if(this.slack.warningMessage!==undefined){
243
-
warnings.push(`Slack is not configured. ${this.slack.warningMessage}`);
241
+
warnings.push(
242
+
`Slack is not configured. ${this.slack.warningMessage} You may remove the \`slack\` config object to suppress this warning.`
243
+
);
244
244
}
245
245
if(this.webSearch.warningMessage!==undefined){
246
246
warnings.push(
247
-
`Web search is not configured. ${this.webSearch.warningMessage}`
247
+
`Web search is not configured. ${this.webSearch.warningMessage} You may remove the \`webSearch\` config object to suppress this warning.`
248
248
);
249
249
}
250
250
if(warnings.length>0){
251
251
this.logger.warn(
252
-
`${warnings.join("\n")}\n\nDid you provide all required environment variables?\nAlternatively, you can suppress this message by setting \`suppressConfigWarnings\` to \`true\` on \`${Scout.CLASS_NAME}\`.`
252
+
`${warnings.join("\n")}\n\nDid you provide all required environment variables?`
0 commit comments