mirror of
https://github.com/zhigang1992/yarn.git
synced 2026-06-12 01:04:56 +08:00
**Summary** Fixes #1610. Previously yarn would allow a dependency on a GitHub pull request with "#1/head" where 1 is the PR number. npm allows the format "#pull/1/head" as well. For compatibility, allowing Yarn to fall back to this format. **Test plan** Added a test to `git-ref-resolver` to test the case `"pull/10/head"`