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 bug with propName containing special characters #109

Merged
merged 2 commits into from
Sep 12, 2019

Conversation

sanghyun-park
Copy link
Contributor

Fixed a problem in which environment variables could not be read when the package name included special characters.

e.g.,
When using config npm_config_@serialport/bindings_binary_host to use custom binaries, It was replaced to npm_config__serialport_bindings_binary_host in process.env. (All special characters should be replaced to _.)

Modify to substitute '_' for all special characters as well as '-'
@vweevers vweevers added the semver-patch Bug fixes that are backward compatible label Sep 11, 2019
@vweevers vweevers merged commit 3c3cfee into prebuild:master Sep 12, 2019
@vweevers
Copy link
Member

5.3.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver-patch Bug fixes that are backward compatible
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants