Skip to content

Commit 945e542

Browse files
committed
chore: fix openapi linter errors
1 parent ea3578c commit 945e542

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

packages/openapi/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
export * from './client/ts'
1+
export * from './client/ts/index.js'
22
export const API_VERSION = 'v1.0'

packages/openapi/run_server_tests.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import { exec } from 'child_process'
88
import { exit } from 'process'
99
import { join } from 'path'
1010
import { createServer } from 'http'
11+
// eslint-disable-next-line n/no-missing-import
1112
import { expressAppConfig } from './server/node_modules/oas3-tools/dist/index.js'
1213

1314
const testTimeout = 120000

packages/openapi/src/checkServer.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,9 @@ export async function checkServer(config: Configuration): Promise<void> {
1313
try {
1414
await sofieApi.index() // Throws an error if API is not available
1515
return
16-
} catch (
17-
err
18-
// eslint-disable-next-line no-empty
19-
) {}
16+
} catch (_err) {
17+
// Ignore
18+
}
2019
await wait(1000)
2120
}
2221

0 commit comments

Comments
 (0)