[WIP] git-node: prompt and conditionally auto push#299
[WIP] git-node: prompt and conditionally auto push#299refack wants to merge 2 commits intonodejs:masterfrom
Conversation
Codecov Report
@@ Coverage Diff @@
## master #299 +/- ##
=======================================
Coverage 73.94% 73.94%
=======================================
Files 22 22
Lines 1401 1401
=======================================
Hits 1036 1036
Misses 365 365Continue to review full report at Codecov.
|
|
I just saw |
joyeecheung
left a comment
There was a problem hiding this comment.
There are no tests for most of the git-node landing process, I am afraid..
|
|
||
| const isWindows = process.platform === 'win32'; | ||
|
|
||
| function asyncQuestion(prid) { |
There was a problem hiding this comment.
I can refactor this a bit into a cli.promptForInput that returns the answer for later use
|
@targos Maybe open a separate issue about refactoring cli.prompt on top of inquirer ? (like the cli.startSpinner and cli.stopSpinner are on top of ora, but we get to dependency-inject the cli in tests) |
|
@joyeecheung sure. I thought this PR was blocked on prompt-related things. My bad. |
|
@targos I thought this was blocked on the TODO in the comment? |
|
Can this be closed? |
|
Closing, if anyone wants to reopen feel free to do so. |
Seeking feedback and testing guidance.
Refs: nodejs/node#23941 (comment)