Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return hashes from yarn dependency_url guard clauses #425

Merged
merged 1 commit into from
Dec 3, 2021

Conversation

jonabc
Copy link
Contributor

@jonabc jonabc commented Dec 3, 2021

ref #424

The return value from the guard clauses in this method (array) didn't match what was expected (hash) from callers. This is a small fix to return empty hashes instead of arrays to avoid the raised error.

this matches the object type for successful returns
@jonabc jonabc merged commit d329572 into master Dec 3, 2021
@jonabc jonabc deleted the yarn-source-array-fix branch December 3, 2021 21:57
jonabc added a commit that referenced this pull request Dec 14, 2021
## 3.4.0

2021-12-14

### Added

- New Yarn enumerator with support for berry versions (#423)

### Fixed

- Error handling cases return correct values in the Yarn enumerator (#425)
- Fixed link in command documentation (:tada: @chibicco #416)
- Fixed minor backwards compatibility issue for Ruby 2.3 support (:tada: @dzunk #414)

### Changed

- Licensed's own dependencies are cached in the repository and kept up to date with GitHub Actions (#421)
@jonabc jonabc mentioned this pull request Dec 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant