Skip to content

Commit

Permalink
Update PackageManager class
Browse files Browse the repository at this point in the history
  • Loading branch information
diksipav committed Jan 27, 2025
1 parent 23846ab commit 5492b9f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/create/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,13 +162,13 @@ stdout: ${stdout}`,
}

export class PackageManager {
public runner: string;
readonly runner: string;

constructor(public packageManager = getPackageManager()) {
constructor(readonly packageManager = getPackageManager()) {
this.runner = PM_TO_RUNNER_MAP[packageManager];
}

public toString(): string {
toString() {
return this.packageManager;
}

Expand Down

0 comments on commit 5492b9f

Please sign in to comment.