Skip to content

Commit 657953c

Browse files
committed
Fix lint issues
Signed-off-by: Dmitriy Lazarev <w@kich.dev>
1 parent ef4808a commit 657953c

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

packages/cli/src/templates/agent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ declare global {
3434

3535
// NOTE: esbuild iief format doesn't support top-level await
3636
;(async () => {
37-
const { InteractorTable, MatcherTable } = await (await import('./interactors')).getImports()
37+
let { InteractorTable, MatcherTable } = await (await import('./interactors')).getImports()
3838

3939
window.interactorAgent = {
4040
interactors: InteractorTable,

packages/cli/src/templates/interactors.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ const imports: { [moduleName: string]: { interactors: { name: string }[], matche
99
const uniqueNames = new Map<string, string>();
1010

1111
export async function getImports() {
12-
const result = {
12+
let result = {
1313
InteractorTable,
1414
MatcherTable,
1515
imports
1616
}
1717

1818
if (isInitialized) return result
1919

20-
const modules = await (await import('./modules')).modules();
20+
let modules = await (await import('./modules')).modules();
2121

2222
for (let moduleName in modules) {
2323
// eslint-disable-next-line @typescript-eslint/no-explicit-any

0 commit comments

Comments
 (0)