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: make plugin usable on Windows #9

Merged
merged 1 commit into from
Aug 18, 2022
Merged

fix: make plugin usable on Windows #9

merged 1 commit into from
Aug 18, 2022

Conversation

coyoteecd
Copy link
Contributor

  • replace usage of mkdir CLI with equivalent Node API
  • replace usage of unzip CLI with node-stream-zip lib
  • use os.tempdir() for getting a cross-platform temp directory
  • replace path concatenation with join/normalize otherwise fileName.includes(handlerPath)
    never succeeds because of path separator mismatch

Closes #7

Copy link
Owner

@adriencaccia adriencaccia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work @coyoteecd 🚀

We can ship this, just need to be conflict free on main.
You can rebase your branch 😉

- replace usage of mkdir CLI with equivalent Node API
- replace usage of unzip CLI with node-stream-zip lib
- use os.tempdir() for getting a cross-platform temp directory
- replace path concatenation with join/normalize otherwise fileName.includes(handlerPath)
  never succeeds because of path separator mismatch

Closes #7
@coyoteecd
Copy link
Contributor Author

@adriencaccia rebased

@adriencaccia
Copy link
Owner

Thanks for the PR 🎊

@adriencaccia adriencaccia merged commit 0e65d0c into adriencaccia:main Aug 18, 2022
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.

Does not work on Windows
2 participants