Skip to content

Commit

Permalink
refactor: remove redundancy in creator
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonioVentilii committed Oct 22, 2024
1 parent 2defc91 commit 88bef12
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/utils/src/utils/agent.utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,7 @@ export type AgentManagerConfig = Pick<
export class AgentManager {
private agents: Record<string, HttpAgent> | undefined | null = undefined;

private constructor(private readonly config: AgentManagerConfig) {
this.config = config;
}
private constructor(private readonly config: AgentManagerConfig) {}

/**
* Static factory method to create a new AgentManager instance.
Expand Down

0 comments on commit 88bef12

Please sign in to comment.