Skip to content

Conversation

@arcanis
Copy link
Member

@arcanis arcanis commented Nov 3, 2023

What's the problem this PR addresses?

The refactoring in #5509 accidentally dropped the includeLogs: true from the yarn install implementation.

Fixes #5866

How did you fix it?

I considered extending installWithNewReport to have a new includeLogs property, but it felt like this behaviour was unneeded for other use cases than yarn install, so I simply switched the yarn install implementation so that it manually creates the report stream rather than delegate to installWithNewReport.

Checklist

  • I have set the packages that need to be released for my changes to be effective.
  • I will check that all automated PR checks pass before the PR gets reviewed.

@arcanis arcanis merged commit 7bdfc60 into master Nov 3, 2023
@arcanis arcanis deleted the mael/yarn-install-json-logs branch November 3, 2023 16:16
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.

[Bug?]: --json flag no longer works in Yarn 4

2 participants