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: return path before yaml or tpl to get changed module #109

Merged
merged 11 commits into from
Feb 1, 2022

Conversation

SamTealeDrest
Copy link
Contributor

@SamTealeDrest SamTealeDrest commented Feb 1, 2022

If we just push the path terragrunt tries to run on the helm-config directory, if we are editing a yaml/tpl file, we should return the next level to get terraform module

@SamTealeDrest SamTealeDrest requested a review from a team as a code owner February 1, 2022 11:26
src/utils.ts Outdated
) {
paths.push(dir)
} else if (ext === '.yaml' || ext === '.tpl') {
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we change it to .y*ml?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Agreed, updated

@SamTealeDrest SamTealeDrest enabled auto-merge (squash) February 1, 2022 11:38
@SamTealeDrest SamTealeDrest merged commit db3a026 into master Feb 1, 2022
@SamTealeDrest SamTealeDrest deleted the steale/prior_path branch February 1, 2022 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants