Skip to content

Commit b2895cb

Browse files
committed
chore: linter
1 parent 76f2fe5 commit b2895cb

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

packages/transform/src/transform.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,6 @@ export async function transform(
185185
return asyncResolveImports.call(this, asyncResolve);
186186
};
187187

188-
resolveImports.id = (asyncResolve as any).id;
189-
190188
memoizedAsyncResolve.set(asyncResolve, resolveImports);
191189
}
192190

packages/transform/src/transform/actions/BaseAction.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -130,11 +130,7 @@ export class BaseAction<TAction extends ActionQueueItem>
130130
type IterationResult = AnyIteratorResult<TMode, TypeOfResult<TAction>>;
131131

132132
if (this.handler && this.handler !== handler) {
133-
throw new Error(
134-
`action handler is already set ${(this.handler as any).id} ${
135-
(handler as any).id
136-
}`
137-
);
133+
throw new Error(`action handler is already set`);
138134
}
139135

140136
this.handler = handler;

0 commit comments

Comments
 (0)