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

Allow to pass option to avoid comments and emptyLines in sample env #42

Merged
merged 3 commits into from
Feb 24, 2022

Conversation

danieldspx
Copy link
Contributor

If we have a pre-commit hook set-up and for some reason we comment a secret, this might end up commited. To avoid this, we can give the option to avoid comments or even empty lines.

Given the problem, this PR gives the lib the ability to accept those options and avoid any further problem with secrets commit on sample envs.

NOTE: This problem happened to me and to my colleagues so I think it is reasonable to have this feature.

@paambaati
Copy link

@codeshifu This is super useful for a lot of users; would you mind reviewing this PR please?

@luqmanoop
Copy link
Owner

luqmanoop commented Feb 24, 2022

@paambaati thanks for bringing my attention to this! I really am not sure how I missed it 🤦🏽‍♂️

@danieldspx I apologize for taking so long to attend to this.

@luqmanoop luqmanoop merged commit 791e9ad into luqmanoop:master Feb 24, 2022
@luqmanoop
Copy link
Owner

LGTM 🚀

Released v2.7.0. Thanks again @danieldspx @paambaati

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

Successfully merging this pull request may close these issues.

3 participants