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

Ensuring we pass node and/or line, column, endLine, endColumn to log #178

Merged
merged 2 commits into from
Nov 9, 2021

Conversation

scalvert
Copy link
Member

@scalvert scalvert commented Nov 8, 2021

Fixes #175.

We should determine whether it's adequate to pass line/column as endLine/endColumn for the differences, as it's not clear to me if higher fidelity endLine/endColumn is necessary here.

This change should be backwards compatible with older versions, since passing node and/or endLine/endColumn should be considered "safe", even in older versions.

@scalvert scalvert added bug Something isn't working enhancement New feature or request and removed bug Something isn't working labels Nov 8, 2021
@dcyriller
Copy link
Member

FYI I pushed another commit to get a higher fidelity for endLine/endColumn.

@scalvert
Copy link
Member Author

scalvert commented Nov 9, 2021

Thanks for the improvement! I figured it'd be easier for you to determine the appropriate endLine/endColumn since you have a more clear idea of the expected output.

@scalvert scalvert merged commit d104fdf into master Nov 9, 2021
@scalvert scalvert deleted the fix-deprecated-log branch November 9, 2021 18:13
@dcyriller
Copy link
Member

Yes exactly! And I was a bit unsure if I could this.log node, line and column at the same time here. So thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deprecation warning added to base rule's log method in v3.8.0
2 participants