Skip to content

Commit

Permalink
chore: remove unused FF from code
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilianna Papastefanou committed May 25, 2022
1 parent 340abe5 commit 461d5ee
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/acceptance/fake-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -333,8 +333,7 @@ export const fakeServer = (basePath: string, snykToken: string): FakeServer => {
app.get(basePath + '/cli-config/feature-flags/:featureFlag', (req, res) => {
const org = req.query.org;
const flag = req.params.featureFlag;
const disabled = new Set(['optOutFromLocalExecIac']);
if (org === 'no-flag' || disabled.has(flag)) {
if (org === 'no-flag') {
res.send({
ok: false,
userMessage: `Org ${org} doesn't have '${flag}' feature enabled'`,
Expand Down

0 comments on commit 461d5ee

Please sign in to comment.