Skip to content

Commit

Permalink
Merge pull request #3273 from snyk/chore/remove-unused-ff
Browse files Browse the repository at this point in the history
chore: remove unused FF from code
  • Loading branch information
ipapast authored May 25, 2022
2 parents 283def9 + 461d5ee commit b5dc9ff
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 b5dc9ff

Please sign in to comment.