Skip to content

Do not write entire contents of yarn.lock to yarn-error.log #5443

@xPaw

Description

@xPaw

Do you want to request a feature or report a bug?

Feature?

What is the current behavior?

  1. Run anything that produces an error, e.g. yarn thiscommanddoesnotexist
  2. yarn-error.log is written with the entire contents of yarn.lock copied to it.

What is the expected behavior?
I'm not sure how useful it is to just copy both package.json and yarn.lock into the error log, especially in the javascript ecosystem where there are an insane amount of (sub-)dependencies.

Please mention your node.js, yarn and operating system version.
Node 9, Yarn 1.5.1, Windows 10.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions