-
Notifications
You must be signed in to change notification settings - Fork 5
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
Root package changes not being considered for tainting #2
Comments
Hello @TomDeVito , Thanks for filing this. I must admit i never considered this case as .go files are often not in the root when following the recommended go structure, however I can totally see many situations where it would be the case. Ill run some tests but I suspect removing the explicit check for root packages would fix this, I think I originally put the check for packages in . as an optimisation or that it was causing all packages to be marked as tainted. Ill have a play. |
Also apologies for the late reply @TomDeVito |
No worries, thanks for responding. I'm following Ben Johnson's Standard Package Layout which has domain structs at the root level. Yea, I tried removing it, but didn't find it working properly until I was able to discover what package was contained in the |
I had the same issue and @TomDeVito's patch fixed it. |
Hey, thanks for making this tool, I ran into a little snag:
If I have the following structure:
and I make changes to
project.go
,app1
andapp2
are not considered to be tainted.project.go
is in the CWD, but seems to be ignored hereWhen I change the code to the following:
I seem to get my desired outcome. I'm not sure if this the best way to handle this or not and was wondering what your thoughts are about this matter.
Thanks,
The text was updated successfully, but these errors were encountered: