Kevin Newton
Kevin Newton
I did a little work on this, but there is more to do here. Ideally we should be skipping the scopes that will definitely not have the local because they...
Ehh, this is working fine I'll skip this until it becomes a problem.
The one on line 4 _is_ ignored, the first one wins.
Hey @chimpanstache - any chance you could share your users_controller.rb file? If not, could you potentially try to format it while removing private content and get it down to a...
`value` in this case is a method being called within syntax tree, it doesn't have to do with your file specifically. I imagine there's some place in your code that...
Great! Now that we've found that, can you tell me the version of the `syntax_tree` gem that you have installed? That performs the actual formatting.
Is there anywhere else in that file that has calls like that? I'm still not quite able to reproduce here. (Thank you for your patience!)
Actually even better, could you run `stree format path/to/file` and give me the backtrace? That would be super helpful.
Ah-ha! Found it. Thanks! That'll be fixed in the next release
In the meantime you can take the following steps: 1. Change it to `Dry::Matcher::ResultMatcher.call(result) do |m|` 2. Add a `# stree-ignore` comment before the line with the issue 3. Ignore...