Skip to content

Commit

Permalink
fix: return module exports from ioredis (open-telemetry#714)
Browse files Browse the repository at this point in the history
  • Loading branch information
dyladan authored Jan 21, 2020
1 parent 96bfebb commit 2aa5399
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 2aa5399

Please sign in to comment.