Commit 5a39466
committed
Allow anything to follow a closing brace at start of line
Specifically this fixes an indentation issue with this:
if ($host = example.com) {
return 301 https://$host$request_uri;
} # managed by Certbot
Before this change this would have been indented as:
if ($host = example.com) {
return 301 https://$host$request_uri;
} # managed by Certbot
Because the regular expression was looking for a ‘}’ with nothing following it,
but comments can follow this construct just fine.1 parent 6e9d96f commit 5a39466
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| |||
0 commit comments