Skip to content

Commit

Permalink
fixes linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredperreault-okta committed Nov 4, 2022
1 parent 247e5be commit 1be8fc7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions test/apps/app/server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,11 @@

require('@okta/env').setEnvironmentVarsFromTestEnv(__dirname);

if (!!process.env.DEBUG) {
// do nothing
}
else {
if (!process.env.DEBUG) {
/* eslint-disable @typescript-eslint/no-empty-function */
console.log = (()=>{});
console.error = (()=>{});
/* eslint-enable @typescript-eslint/no-empty-function */
}

const createProxyMiddleware = require('./proxyMiddleware');
Expand Down
2 changes: 1 addition & 1 deletion test/support/monolith/create-e2e-env.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// eslint-disable-next-line no-undef, node/no-missing-import
// eslint-disable-next-line no-undef, node/no-missing-import, node/no-extraneous-import
import * as dockolith from '@okta/dockolith';
import { writeFileSync } from 'fs';
import * as path from 'path';
Expand Down

0 comments on commit 1be8fc7

Please sign in to comment.