Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
mmeigs committed Oct 31, 2023
1 parent 3e3c10f commit 31d6c15
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions api/controllers/v1/slack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,7 @@ export const getDeployableJobs = async (
// e.g. 10gen/docs-monorepo/cloud-docs/master => (owner/monorepo/repoDirectory/branch)
[repoOwner, repoName, monorepoDir, branchName] = splitValues;
} else {
throw Error(
'Selected entitlement value is configured incorrectly. Check user entitlements!' +
` ${process.env.FEATURE_FLAG_MONOREPO_PATH}`
);
throw Error('Selected entitlement value is configured incorrectly. Check user entitlements!');
}

const hashOption = values?.hash_option ?? null;
Expand Down

0 comments on commit 31d6c15

Please sign in to comment.