Skip to content

Commit ef53dd0

Browse files
committed
fix: eslint errors
1 parent 0d43d3e commit ef53dd0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

example/src/Database.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export async function executeFailingTypeORMQuery(): Promise<QueryResult | void>
5858
SELECT * From UnexistingTable
5959
`)) as QueryResult
6060
return manualQuery
61-
} catch (e) {
61+
} catch {
6262
console.warn('should have cached')
6363
}
6464
}

example/src/tests/unitTests.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ export function registerUnitTests() {
350350
'INSERT INTO "User" (id, name, age, networth) VALUES(?, ?, ?, ?)',
351351
[id, name, age, networth]
352352
)
353-
} catch (e) {
353+
} catch {
354354
tx.rollback()
355355
}
356356
})

0 commit comments

Comments
 (0)