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

whitespace issues when using ip's without quotes with comments on same line #14

Open
logicalparadox opened this issue Oct 20, 2015 · 1 comment

Comments

@logicalparadox
Copy link
Contributor

Input

IP_ADDRESS=192.168.99.100 # this is a comment

Actual

{
  IP_ADDRESS: "192.168.99.100 "
}

Expected

{
  IP_ADDRESS: "192.168.99.100"
}
@logicalparadox logicalparadox self-assigned this Oct 20, 2015
@wilmoore
Copy link

Similarly:

.env
BOOLEAN_WITH_COMMENT=true # this is a comment
Setup
var env = require('envc')({ booleans: true })
Actual
assert.deepEqual(env.BOOLEAN_WITH_COMMENT, 'true ')
Expected
assert.deepEqual(env.BOOLEAN_WITH_COMMENT, true)

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

No branches or pull requests

2 participants