Skip to content

Preserve explicit title & body in issue create --web - #538

Merged
vilmibm merged 3 commits into
masterfrom
issue-create-web-title-body
Feb 24, 2020
Merged

Preserve explicit title & body in issue create --web#538
vilmibm merged 3 commits into
masterfrom
issue-create-web-title-body

Conversation

@mislav

@mislav mislav commented Feb 24, 2020

Copy link
Copy Markdown
Contributor

Followup to #523, fixes #522

It's sufficient to return a value of type `ghrepo.Interface` instead of
a pointer to an interface. This avoids having to use `*` whenever we are
passing the result of `determineBaseRepo()` into another function that
accepts a `ghrepo.Interface`.
@mislav
mislav requested a review from vilmibm February 24, 2020 12:43
On Windows, `&` characters in URLs need to be escaped with `^`, but that
messes up the test expectation for other platforms, so this normalizes it.
@vilmibm
vilmibm merged commit 1bfb875 into master Feb 24, 2020
@mislav
mislav deleted the issue-create-web-title-body branch February 24, 2020 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Using web flag on pr/issue create overrides title and body flags

2 participants