Error: indent/outdent mismatch
See original GitHub issueFirst: I’m very happy to find a bash beautifier. But for one of my scripts it fails with
error: indent/outdent mismatch: 1.
although I (and also “shellcheck”) didn’t find an error.
After some trail and error attempts I could reduce the problem to the following command using command substitution
T=$(echo "\"a\"")
But for e.g. putting a space before the right parenthesis let beautish work without an error!
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Developers - Invalid Error: indent/outdent mismatch for 'block ...
I encountered invalid results. >rbeautify ident2.rb ..............ruby/lib/ruby/gems/2.2.0/gems/rbeautify-0.0.7/lib/rbeautify.rb:115: warning: character ...
Read more >need help with indentation mismatch - Lemma Soft Forums
The problem is that your indentations are off. Your code should look like this: Code: Select all define g = Character("Girl") define b...
Read more >Visual Studio Code: format is not using indent settings
If it is the case, then just open Command Palette, type "Formatter" and select Formatter Config . Then edit the value of "indent_size"...
Read more >"CPU ID Mismatch" error - Windows 10 - Nodelocked licenses ...
Nodelocked licenses stop working when connecting/changing WiFi connection - "CPU ID Mismatch" error - Windows 10 Description Keysight EDA ...
Read more >Bash Script Beautifier (Python) - * arachnoid.com
But in tests with many large Linux system Bash scripts, its error-free score was ... 129: sys.stderr.write('File %s: error: indent/outdent mismatch: %d.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I just want to confirm that the bug is fixed.
Sorry, I had have overseen it since I found no response here and after a quick look on the source of version 3.12 I had the wrong impression that the mentioned problem wasn’t yet fixed. But it was, great!
I am still getting this error!! Would be nice if the error show where it happens, like how python does when it hits an error… Here is my code that is tripping it up!
beautysh==6.0.1