Commit 8583271
committed
Fixed [error] Type
```
lib/ruby_header_parser/parser.rb:238:58: [error] Type `(::String | nil)` does not have method `gsub`
│ Diagnostic ID: Ruby::NoMethod
│
└ definition[0...definition.index(function_name)].gsub("char *", "char*").strip
~~~~
```(::String | nil) does not have method gsub
1 parent b5fad90 commit 8583271
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
238 | | - | |
| 238 | + | |
| 239 | + | |
239 | 240 | | |
240 | 241 | | |
241 | 242 | | |
| |||
0 commit comments