Commit a5bc715
committed
fix: pass remoteName to pushCurrentBranch in publishRepository
Previously, publishRepository called git.pushCurrentBranch(input.cwd, null),
discarding the remoteName returned by git.ensureRemote. This could cause the
push to target the wrong remote if a non-origin remote already existed. Now
passes remoteName so the push always targets the just-configured remote.1 parent 92e2845 commit a5bc715
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
292 | 292 | | |
293 | 293 | | |
294 | 294 | | |
295 | | - | |
| 295 | + | |
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
| |||
0 commit comments