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 track_symlinks reference in taste-tester impact #182

Merged
merged 2 commits into from
Jul 13, 2023
Merged

Fix track_symlinks reference in taste-tester impact #182

merged 2 commits into from
Jul 13, 2023

Conversation

dtheyer
Copy link
Contributor

@dtheyer dtheyer commented Mar 3, 2023

@track_symlinks is set for TasteTester::Client, but not for TasteTester::Commands so this reference is always interpreted as false. The impact of this is that taste-tester impact is unable to detect changed files that are symlinked into the TasteTester::Config.relative_cookbook_dirs.

Since we are already referencing other config options within this function we can just read TasteTester::Config.track_symlinks directly.

Tested locally and verified that when track_symlinks is specified as true in the config, taste-tester impact adds the files to the returned changeset

Copy link
Collaborator

@jaymzh jaymzh left a comment

Choose a reason for hiding this comment

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

This feels like an obvious bugfix. Nice work!

@dafyddcrosby dafyddcrosby merged commit 9428af7 into facebook:main Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants