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

Fix instance variable not initialized warning #27

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MattFenelon
Copy link

When report_with_single_file is true, reading from single_report_path
without calling single_report_path= causes ruby to issue a warning:

warning: instance variable @single_report_path not initialized

Fixes the warning by initialising the @single_report_path instance
variable with the default.

When `report_with_single_file` is true, reading from `single_report_path`
without calling `single_report_path=` causes ruby to issue a warning:

    warning: instance variable @single_report_path not initialized

Fixes the warning by initialising the `@single_report_path` instance
variable with the default.
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.

1 participant