-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(backport): checkout from staging branch and ask to update if needed #732
fix(backport): checkout from staging branch and ask to update if needed #732
Conversation
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## main #732 +/- ##
=======================================
Coverage 83.03% 83.03%
=======================================
Files 37 37
Lines 4178 4178
=======================================
Hits 3469 3469
Misses 709 709 ☔ View full report in Codecov by Sentry. |
ab01c09
to
ef56f71
Compare
@@ -61,7 +61,7 @@ export default class BackportSession extends Session { | |||
cli.stopSpinner(`${file} does not exist in current working tree`, | |||
cli.SPINNER_STATUS.WARN); | |||
continue; | |||
}; | |||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unrelated style change? (I'm surprised we don't lint these files.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(Although, yeah, that semicolon shouldn't be there. Maybe leave it and ignore my comment. But uh, future enhancement for someone: Add linting or adjust the current linting to catch that stuff automatically.)
Is it reasonable to add a test for this change? (Non-blocking but of course I'd prefer a test to not having test if it's not too onerous.) |
I totally with you on adding test but there where no test to begin with I will try to add one... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please do not hard code 'upstream'
, and take the name of the upstream from the config instead.
ef56f71
to
e8a3095
Compare
@aduh95 fixed |
Fixes #731
this aligns with steps 1-3 in
doc/contributing/backporting-to-release-lines.md
- How to submit a backport pull requesthttps://github.com/nodejs/node/blob/c2cd74453e7d2794ad81cab63e68371e08bad04f/doc/contributing/backporting-to-release-lines.md?plain=1#L48-L62