forked from gitgitgadget/gitgitgadget
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
misc-helper: fix commands that take an optional repository owner
I overlooked that _some_ of those do not want the second parameter to refer to a PullRequest URL, and those that do no longer need to construct it from a Pull Request Number manually (because the `OptionalRepoOwnerCommand` class does it for them). This led to errors when `/submit`ing PRs, e.g. gitgitgadget/git#1847 (comment) (https://dev.azure.com/gitgitgadget/git/_build/results?buildId=232598&view=logs&j=fd490c07-0b22-5182-fac9-6d67fe1e939b&t=28e14b79-1d95-5195-ee03-3a68ac48a418&l=13 points to the exact error): node build/script/misc-helper.js handle-pr-comment 2571259843 GET /repos/gitgitgadget/git/issues/comments/NaN - 404 with id 8FC2:20D9D0:4EF0B5D:5C1E5A8:6779306A in 536ms Let's fix these inadvertent regressions. Signed-off-by: Johannes Schindelin <[email protected]>
- Loading branch information
Showing
1 changed file
with
11 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters