Skip to content

Ruby: dont import the PathGraph module from Query.qll files#8810

Merged
erik-krogh merged 1 commit intogithub:mainfrom
erik-krogh:rubyPathgraph
Apr 22, 2022
Merged

Ruby: dont import the PathGraph module from Query.qll files#8810
erik-krogh merged 1 commit intogithub:mainfrom
erik-krogh:rubyPathgraph

Conversation

@erik-krogh
Copy link
Contributor

Most of the time you import the PathGraph module from the .ql file of a path-query.
But sometimes you also imported it from the Query.qll file (I removed those).

(I found this from looking at redundant imports, and some of your PathGraph imports showed up as redundant).

@erik-krogh erik-krogh requested a review from a team as a code owner April 22, 2022 08:32
@github-actions github-actions bot added the Ruby label Apr 22, 2022
@aibaars
Copy link
Contributor

aibaars commented Apr 22, 2022

Looks fine to me. There seems to be a (unrelated) problem with the identical files check.

@erik-krogh
Copy link
Contributor Author

I rebased on main to fix the identical files issue.

@erik-krogh erik-krogh added the no-change-note-required This PR does not need a change note label Apr 22, 2022
@erik-krogh erik-krogh merged commit c015ef6 into github:main Apr 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-change-note-required This PR does not need a change note Ruby

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants