Skip to content

Commit fd01aef

Browse files
committed
cleanup
1 parent 4b58abd commit fd01aef

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

‎packages/server-utils/src/integrations/hono/honoIntegration.ts‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,9 @@ function instrumentHonoApp<E extends Env>(app: Hono<E>, options: HonoIntegration
9797
// (Node/Bun/Deno) or the eager Cloudflare arm below.
9898
let constructorSubscribed = false;
9999

100-
function instrumentHono(options: HonoIntegrationOptions): boolean {
100+
function instrumentHono(options: HonoIntegrationOptions): void {
101101
if (constructorSubscribed) {
102-
return false;
102+
return;
103103
}
104104
constructorSubscribed = true;
105105

@@ -111,8 +111,6 @@ function instrumentHono(options: HonoIntegrationOptions): boolean {
111111
}
112112
});
113113
});
114-
115-
return true;
116114
}
117115

118116
const _honoIntegration = ((options: HonoIntegrationOptions = {}) => {

0 commit comments

Comments
 (0)