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

fix(get): yauzl-promise unzipping on MacOS #1017

Closed
wants to merge 56 commits into from
Closed

Conversation

ayushmanchhabra
Copy link
Collaborator

Description of Changes

  • ...

@ayushmanchhabra
Copy link
Collaborator Author

ayushmanchhabra commented Jan 25, 2024

The workaround is not working, the issue could be in how yauzl-promise has been used. Opened issue in upstream to investigate this.

@ayushmanchhabra
Copy link
Collaborator Author

The issue is with the current https implementation. Addressing that in GH-1019

@ayushmanchhabra ayushmanchhabra marked this pull request as ready for review January 30, 2024 04:00
ayushmanchhabra pushed a commit that referenced this pull request Jan 31, 2024
### Description of Changes

- Use both absolute and relative paths for the cache directory.
- Fixes the issue on MacOS related to the existence of a cache folder
that is not present in the same current directory.
- Correctly unzips files in MacOs.

Notes: Resolves issued caused by cache is in a directory other than the
current path.

Closes: #1017
@ayushmanchhabra ayushmanchhabra deleted the fix/unzip-macos branch February 1, 2024 05:23
ayushmanchhabra pushed a commit that referenced this pull request Feb 1, 2024
🤖 I have created a release *beep* *boop*
---


##
[4.6.0](v4.5.4...v4.6.0)
(2024-02-01)


### Features

* **get:** set `cacheDir` on another volume
([#1023](#1023))
([7c0f711](7c0f711)),
closes [#1017](#1017)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

1 participant