{"action":"created","issue":{"url":"https://api.github.com/repos/bemeurer/beautysh/issues/29","repository_url":"https://api.github.com/repos/bemeurer/beautysh","labels_url":"https://api.github.com/repos/bemeurer/beautysh/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/bemeurer/beautysh/issues/29/comments","events_url":"https://api.github.com/repos/bemeurer/beautysh/issues/29/events","html_url":"https://github.com/bemeurer/beautysh/issues/29","id":382341688,"node_id":"MDU6SXNzdWUzODIzNDE2ODg=","number":29,"title":"Error: indent/outdent mismatch","user":{"login":"jschleus","id":20492485,"node_id":"MDQ6VXNlcjIwNDkyNDg1","avatar_url":"https://avatars1.githubusercontent.com/u/20492485?v=4","gravatar_id":"","url":"https://api.github.com/users/jschleus","html_url":"https://github.com/jschleus","followers_url":"https://api.github.com/users/jschleus/followers","following_url":"https://api.github.com/users/jschleus/following{/other_user}","gists_url":"https://api.github.com/users/jschleus/gists{/gist_id}","starred_url":"https://api.github.com/users/jschleus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jschleus/subscriptions","organizations_url":"https://api.github.com/users/jschleus/orgs","repos_url":"https://api.github.com/users/jschleus/repos","events_url":"https://api.github.com/users/jschleus/events{/privacy}","received_events_url":"https://api.github.com/users/jschleus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-19T18:34:07Z","updated_at":"2018-12-28T17:07:07Z","closed_at":null,"author_association":"NONE","body":"First: I'm very happy to find a bash beautifier. But for one of my scripts it fails with\r\n```\r\nerror: indent/outdent mismatch: 1.\r\n```\r\nalthough I (and also \"shellcheck\") didn't find an error.\r\n\r\nAfter some trail and error attempts I could reduce the problem to the following command using command substitution\r\n```\r\nT=$(echo \"\\\"a\\\"\")\r\n```\r\nBut for e.g. putting a space before the right parenthesis let beautish work without an error!"},"comment":{"url":"https://api.github.com/repos/bemeurer/beautysh/issues/comments/450392918","html_url":"https://github.com/bemeurer/beautysh/issues/29#issuecomment-450392918","issue_url":"https://api.github.com/repos/bemeurer/beautysh/issues/29","id":450392918,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDM5MjkxOA==","user":{"login":"f18m","id":9748595,"node_id":"MDQ6VXNlcjk3NDg1OTU=","avatar_url":"https://avatars1.githubusercontent.com/u/9748595?v=4","gravatar_id":"","url":"https://api.github.com/users/f18m","html_url":"https://github.com/f18m","followers_url":"https://api.github.com/users/f18m/followers","following_url":"https://api.github.com/users/f18m/following{/other_user}","gists_url":"https://api.github.com/users/f18m/gists{/gist_id}","starred_url":"https://api.github.com/users/f18m/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/f18m/subscriptions","organizations_url":"https://api.github.com/users/f18m/orgs","repos_url":"https://api.github.com/users/f18m/repos","events_url":"https://api.github.com/users/f18m/events{/privacy}","received_events_url":"https://api.github.com/users/f18m/received_events","type":"User","site_admin":false},"created_at":"2018-12-28T17:07:07Z","updated_at":"2018-12-28T17:07:07Z","author_association":"NONE","body":"I also found this error; in my case I found it's caused by the following snippet:\r\n\r\n`\r\nfunction mytest()\r\n{\r\n    local re='^[\\-]?[[0-9]+$'\r\n\t\techo \"hello world\"\r\n}\r\n`\r\n"}}
{"actor":{"display_login":"f18m"}}