MCPcopy Index your code
hub / github.com/Linen-dev/linen.dev / shouldCreateAuth

Function shouldCreateAuth

packages/maintenance/src/import-users.ts:49–53  ·  view source on GitHub ↗
(role: SlackRole)

Source from the content-addressed store, hash-verified

47};
48
49const shouldCreateAuth = (role: SlackRole): boolean => {
50 if (role === 'Deactivated') return false;
51 if (role === 'Bot') return false;
52 return true;
53};
54
55async function run() {
56 if (process.argv.length < 4) {

Callers 1

runFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected