Skip to content

Conversation

@merceyz
Copy link
Member

@merceyz merceyz commented Jan 30, 2022

What's the problem this PR addresses?

Yarn crashes if the workspaces field is set to null.

Fixes #3947

How did you fix it?

Check that workspaces isn't null before trying to access its properties

Checklist

  • I have read the Contributing Guide.
  • 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.

@merceyz merceyz requested a review from arcanis as a code owner January 30, 2022 16:39
@arcanis arcanis merged commit 093e8bb into master Jan 31, 2022
@arcanis arcanis deleted the merceyz/fix/manifest-workspaces-null branch January 31, 2022 10:08
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.

Uncaught Type Error when setting workspaces manifest property to null [Bug?]:

3 participants