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

misc: clean up local names within Config #6950

Merged
merged 2 commits into from
Jan 8, 2019
Merged

misc: clean up local names within Config #6950

merged 2 commits into from
Jan 8, 2019

Conversation

brendankenny
Copy link
Member

Some superficial clean up within Config (split off from the plugins PR to keep it simpler).

  • configPath was really confusing for resolving relative paths of audits and gatherers until I realized it was actually configDir that was being passed into these methods. Renamed to that.
  • resolvePlugin() renamed to resolveModule since it's used to find the paths of gatherers, audits, and (soon) plugins. Also moved to Config (from Runner) since it's only used in there.
  • getDisplayString was renamed to getPrintString in the original PR (cli: add --print-config flag #6107) but the test description wasn't updated. Updated.

Copy link
Member

@paulirish paulirish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm from me

@brendankenny brendankenny merged commit ca4fcad into master Jan 8, 2019
@brendankenny brendankenny deleted the configclean branch January 8, 2019 01:49
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.

2 participants