Skip to content

Commit

Permalink
fix: return module exports from ioredis open-telemetry#713
Browse files Browse the repository at this point in the history
  • Loading branch information
dyladan committed Jan 21, 2020
1 parent 8b62485 commit 276781a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/opentelemetry-plugin-ioredis/src/ioredis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export class IORedisPlugin extends BasePlugin<typeof ioredisTypes> {
this._patchConnection()
);

return this._moduleExports.prototype;
return this._moduleExports;
}

protected unpatch(): void {
Expand Down

0 comments on commit 276781a

Please sign in to comment.