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

Parser stops after comment #15

Closed
bsedat opened this issue Mar 22, 2016 · 0 comments
Closed

Parser stops after comment #15

bsedat opened this issue Mar 22, 2016 · 0 comments

Comments

@bsedat
Copy link
Contributor

bsedat commented Mar 22, 2016

We use comments to label gems in our Gemfile (sometimes the use of a gem doesn't come easily from the name 😄) and this seems to stop the Pessimize parser from labeling subsequent gem lines. I've attached a sample Gemfile (and the Gemfile.backup) that triggers the issue. If I remove the ruby comment everything seems to work great.

Gemfile (after running pessimize):

# A sample Gemfile
source "https://rubygems.org"

gem "rails", "~> 4.2"
gem "pessimize", "~> 0.3" # Breaks here
gem "devise"

Gemfile.backup:

# A sample Gemfile
source "https://rubygems.org"

gem "rails"
gem "pessimize" # Breaks here
gem "devise"
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

1 participant