Skip to content

Conversation

lukekarrys
Copy link
Contributor

@lukekarrys lukekarrys commented Feb 27, 2024

smoke-tests use a helper function to spawn local npm commands and get their output. Previously it would only return stdout by default unless requested to make it easier to make assertions. This proved to be a bad choice by me since it added indirection and made unrelated PRs like #7158 fail with hard to debug output.

This PR makes the helper function always return { stdout, stderr } and updates all call sites to use res.stdout where necessary.

@lukekarrys lukekarrys requested a review from a team as a code owner February 27, 2024 19:52
@lukekarrys lukekarrys merged commit a530215 into latest Feb 27, 2024
@lukekarrys lukekarrys deleted the lk/smoke-test-spawn-output branch February 27, 2024 20:01
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