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: Using platform-agnostic homedir() as output dir #124

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

james-braund
Copy link

Type of Change

  • New feature
  • Bug fix
  • Documentation
  • Refactor
  • Chore

Resolves

Describe Changes

Switched out platform-specific process.env.HOME for platform agnostic os.homedir().

Haven't adjusted unit tests, as they still feel appropriate. You could make the argument that we should mock the response from os.homedir() instead of allowing a real call to the underlay environment variables, but that would require some fairly significant refactoring of the tests.

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.

Support for windows-latest build environment
1 participant