-
Notifications
You must be signed in to change notification settings - Fork 114
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
chore: remove execa
dependency
#722
Conversation
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## main #722 +/- ##
=======================================
Coverage 83.38% 83.38%
=======================================
Files 37 37
Lines 4158 4158
=======================================
Hits 3467 3467
Misses 691 691 ☔ View full report in Codecov by Sentry. |
This seems to have broken |
return runAsync('git', args, { | ||
spawnArgs: { | ||
cwd: options.nodeDir, | ||
...input && { input } |
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.
spawn
doesn't take an input
option.
captureStdout: true, | ||
spawnArgs: { | ||
cwd: ctx.v8Dir, | ||
encoding: 'utf8' |
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.
nor does it take an encoding option
'git', | ||
['format-patch', '--stdout', `${ctx.currentVersion}...${latestStr}`], | ||
{ cwd: ctx.v8Dir, encoding: 'utf8' } | ||
{ captureStdout: true, spawnArgs: { cwd: ctx.v8Dir, encoding: 'utf8' } } |
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.
ditto
await runAsync('git', ['apply', '--directory', 'deps/v8'], { | ||
spawnArgs: { | ||
cwd: ctx.nodeDir, | ||
input: diff |
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.
ditto
This reverts commit ff79809.
The less dependencies we have, the better.