Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@dhleong
Copy link
Contributor

@dhleong dhleong commented Sep 1, 2020

See #1570

Thought I'd go ahead and get the ball rolling with a simple change to address at least part of the issue linked above :)

Copy link
Contributor

@vilmibm vilmibm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ahh, unfortunately I just merged #1582 and, after merging trunk with this PR, the tests are failing. Sorry about that timing, but once this is reconciled with trunk I'm 👍

We could, alternatively, use t.Fatal... this matches the MkdirAll
invocation from github_template_test, however...
Also, avoid excessive amounts of newlines separating the two
@dhleong dhleong force-pushed the dhleong/pr-prepend-commit-bodies branch from 42fc8dd to c7e7022 Compare September 9, 2020 00:26
@dhleong
Copy link
Contributor Author

dhleong commented Sep 9, 2020

Based against trunk, updated the failing test to reflect the inclusion of the "default" body before the template, and also added some quick logic to avoid having more than two newlines separating the template text and the "default" body.

@vilmibm vilmibm self-requested a review September 9, 2020 16:00
Copy link
Contributor

@vilmibm vilmibm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you!!

@vilmibm vilmibm merged commit 33e11f0 into cli:trunk Sep 9, 2020
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.

2 participants