Showing 3 of 10 total issues
Function makePulumiCallback
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const makePulumiCallback = (
type: SlackRequestType,
options: PulumiCallbackOptions = {},
): PulumiCallbackFun => {
if (type === 'api') {
Avoid too many return
statements within this function. Open
Open
return {
text: entry.textPayload,
};
Avoid too many return
statements within this function. Open
Open
return true;