Skip to content

Commit c28ccf2

Browse files
fixes linter issues
1 parent 3d47235 commit c28ccf2

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

test/apps/app/server/index.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,11 @@
1515

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

18-
if (!!process.env.DEBUG) {
19-
// do nothing
20-
}
21-
else {
18+
if (!process.env.DEBUG) {
19+
/* eslint-disable @typescript-eslint/no-empty-function */
2220
console.log = (()=>{});
2321
console.error = (()=>{});
22+
/* eslint-enable @typescript-eslint/no-empty-function */
2423
}
2524

2625
const createProxyMiddleware = require('./proxyMiddleware');

test/support/monolith/create-e2e-env.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// eslint-disable-next-line no-undef, node/no-missing-import
1+
// eslint-disable-next-line no-undef, node/no-missing-import, node/no-extraneous-import
22
import * as dockolith from '@okta/dockolith';
33
import { writeFileSync } from 'fs';
44
import * as path from 'path';

0 commit comments

Comments
 (0)