Skip to content

Commit ff5555f

Browse files
decyjphrCopilot
andauthored
Update lib/plugins/repository.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 94da73e commit ff5555f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/plugins/repository.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ module.exports = class Repository extends ErrorStash {
200200
}
201201
this.log.info(`Rename default branch repo with settings ${JSON.stringify(parms)}`)
202202
if (this.nop) {
203-
resArray.push(new NopCommand(this.constructor.name, this.repo, this.github.rest.repos.renameBranch.endpoint(oldname, this.settings.default_branch), `Repo rename default branch to ${this.settings.default_branch}`))
203+
resArray.push(new NopCommand(this.constructor.name, this.repo, this.github.rest.repos.renameBranch.endpoint(parms), `Repo rename default branch to ${this.settings.default_branch}`))
204204
} else {
205205
return this.github.rest.repos.renameBranch(parms)
206206
}

0 commit comments

Comments
 (0)