Skip to content

Commit 6f93d0e

Browse files
committed
Fix param to getSocketBranchName
1 parent 34de472 commit 6f93d0e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/commands/fix/npm-fix.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ export async function npmFix(
159159
// Lazily access constants.ENV[CI].
160160
if (constants.ENV[CI]) {
161161
;({ owner, repo } = getGitHubEnvRepoInfo())
162-
branch = getSocketBranchName(name, toVersion)
162+
branch = getSocketBranchName(fromPurl, toVersion)
163163
// eslint-disable-next-line no-await-in-loop
164164
shouldOpenPr = !(await doesPullRequestExistForBranch(
165165
owner,

src/commands/fix/pnpm-fix.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ export async function pnpmFix(
182182
// Lazily access constants.ENV[CI].
183183
if (constants.ENV[CI]) {
184184
;({ owner, repo } = getGitHubEnvRepoInfo())
185-
branch = getSocketBranchName(name, toVersion)
185+
branch = getSocketBranchName(fromPurl, toVersion)
186186
// eslint-disable-next-line no-await-in-loop
187187
shouldOpenPr = !(await doesPullRequestExistForBranch(
188188
owner,

0 commit comments

Comments
 (0)