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

Error - indent/outdent mismatch: 1 in grep command #86

Open
dav3r opened this issue Jun 9, 2021 · 0 comments
Open

Error - indent/outdent mismatch: 1 in grep command #86

dav3r opened this issue Jun 9, 2021 · 0 comments
Labels

Comments

@dav3r
Copy link

dav3r commented Jun 9, 2021

I recently had to disable formatting around a particular line because beautysh was over-indenting the lines following this one:

grep --quiet --ignore-case "^127\.0\.0\.1\s$${escaped_hostname}\s*$" "${hosts_file}"

The full script can be found in cisagov/cool-assessment-terraform@451c74c.

PS: Thank you for developing this excellent tool - I am a fan! 👍

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

No branches or pull requests

2 participants