node-get-env icon indicating copy to clipboard operation
node-get-env copied to clipboard

Windows -> Environment Parsed incorrectly

Open raybooysen opened this issue 10 years ago • 1 comments

With the following command: set NODE_ENV=production && webpack

the node_env variable is set to 'production ' which includes a trailing space. This means that the library can't parse this properly.

Would you accept a PR that trims the string?

raybooysen avatar Mar 24 '16 11:03 raybooysen

@raybooysen PR for this would be a great idea. Thanks-

pilwon avatar Nov 13 '16 01:11 pilwon