Commit 8a38f1c
committed
Address
```
/path/to/sqlite3-ruby/lib/sqlite3/pragmas.rb:26: warning: mismatched indentations at 'else' with 'case' at 23
/path/to/sqlite3-ruby/lib/sqlite3/pragmas.rb:34: warning: mismatched indentations at 'else' with 'case' at 21
```
These mismatched indentations are corrected by RuboCop as follows.
```
$ rubocop --auto-correct --only Layout/ElseAlignment,Layout/CaseIndentation lib/sqlite3/pragmas.rb
```
https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/63141
relaxed the condition of this warning.warning: mismatched indentations at 'else' with 'case'
1 parent fab4f11 commit 8a38f1c
1 file changed
Lines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
0 commit comments