Skip to content

Refactor Parser #641

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

Merged
merged 1 commit into from
Jul 16, 2019
Merged

Refactor Parser #641

merged 1 commit into from
Jul 16, 2019

Conversation

drwl
Copy link
Collaborator

@drwl drwl commented Jul 16, 2019

Refactored Parser to isolate changes being made to ENV. This way we have an intermediate step where we know the environment variables being set.

Refactored Parser to isolate changes being made to ENV. This way we have an intermediate step where we know the environment variables being set.
@drwl drwl force-pushed the drwl/refactor-parser2 branch from d418bac to 230b809 Compare July 16, 2019 00:21
@KentBeck
Copy link

One step forward!

@drwl drwl merged commit f8f1b17 into develop Jul 16, 2019
@drwl drwl deleted the drwl/refactor-parser2 branch July 16, 2019 18:24
ryanwjackson pushed a commit to ryanwjackson/annotate_models that referenced this pull request Aug 6, 2019
Refactored Parser to isolate changes being made to ENV. This way we have an intermediate step where we know the environment variables being set.
peterfication pushed a commit to store2be/annotate_models that referenced this pull request Jan 20, 2020
Refactored Parser to isolate changes being made to ENV. This way we have an intermediate step where we know the environment variables being set.
vfonic pushed a commit to vfonic/annotate_models that referenced this pull request May 8, 2020
Refactored Parser to isolate changes being made to ENV. This way we have an intermediate step where we know the environment variables being set.
@twwright
Copy link

twwright commented May 17, 2020

Still having a look at the codebase here for the first time, but it looks like line 59 of this commit may be causing issue #802

option_parser.on('--additional-file-patterns path1,path2,path3',
Array,
"Additional file paths or globs to annotate, separated by commas (e.g. `/foo/bar/%model_name%/*.rb,/baz/%model_name%.rb`)") do |additional_file_patterns|
ENV['additional_file_patterns'] = additional_file_patterns
end

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

Successfully merging this pull request may close these issues.

3 participants