Skip to content

Conversation

GauBen
Copy link
Contributor

@GauBen GauBen commented Feb 28, 2025

What's the problem this PR addresses?

It creates missing sub-directories instead of crashing; closes #6706.

How did you fix it?

Added await xfs.mkdirpPromise(ppath.dirname(target)) before packing

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 0edddbe into yarnpkg:master Mar 1, 2025
26 checks passed
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?]: yarn pack does not create sub-directories when using --out
2 participants