Commit 9285dba
committed
Fixed [error] Type
```
lib/ruby_header_parser/parser.rb:357:29: [error] Type `(::String | nil)` does not have method `length`
│ Diagnostic ID: Ruby::NoMethod
│
└ ::Regexp.last_match(1).length
~~~~~~
```(::String | nil) does not have method length
1 parent 8583271 commit 9285dba
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
354 | 354 | | |
355 | 355 | | |
356 | 356 | | |
357 | | - | |
| 357 | + | |
358 | 358 | | |
359 | 359 | | |
360 | 360 | | |
0 commit comments