-
Notifications
You must be signed in to change notification settings - Fork 506
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
Regression in 2.7.1: Ignores quote in arguments #381
Comments
Thank you for reporting! I'll investigate this issue today and get back to you as soon as I can. |
@walro Could you please provide the dotenv.sh script you were using to test in the repro steps? I'd like to be as consistent as possible. Thanks! |
@cadwallion it is there, it is really short: #!/bin/sh
echo $1 |
Oh, apologies. Thanks! |
Thank you so much for the clear and concise report! #382 should resolve the issue (and also dramatically improved the maintainability of the CLI) for you. I'll cut a 2.7.2 gem in the next 24 hours as well. |
As the title of the issue, it seems like quotes are ignored. Looking at v2.7.0...v2.7.1 it would seem like this was an inadvertent effect of #376
Steps to reproduce
Expected behavior
It should keep quoted argument as a single argument, as in previous versions of dotenv.
Actual behavior
It seems to split quoted arguments on space, ignoring the quotes.
System configuration
dotenv version: 2.7.1
Rails version: n/a
Ruby version: 2.6.1
The text was updated successfully, but these errors were encountered: