WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit c42ae65

Browse files
authored
ci: Fix linting issue on master (no-changelog) (#6222)
1 parent 500c0eb commit c42ae65

File tree

1 file changed

+2
-2
lines changed
  • packages/cli/test/integration/shared

1 file changed

+2
-2
lines changed

packages/cli/test/integration/shared/testDb.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { UserSettings } from 'n8n-core';
2-
import type { DataSourceOptions as ConnectionOptions, Repository } from 'typeorm';
2+
import type { DataSourceOptions as ConnectionOptions } from 'typeorm';
33
import { DataSource as Connection } from 'typeorm';
44
import { Container } from 'typedi';
55

@@ -115,7 +115,7 @@ export async function terminate() {
115115
*/
116116
export async function truncate(collections: CollectionName[]) {
117117
for (const collection of collections) {
118-
await (Db.collections[collection] as Repository<any>).delete({});
118+
await Db.collections[collection].delete({});
119119
}
120120
}
121121

0 commit comments

Comments
 (0)