Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/send.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ async function post(config) {
case !!config.inputs.webhook:
return await new Webhook().post(config);
default:
// NOTE: This code is unreachable. The Config constructor will have
// already thrown before this code can be reached.
throw new SlackError(config.core, "No technique given to post content");
}
}
Loading