Commit d971ad5
Fix warning on nil comparison
This uses the more efficient /regex/.match?(value) syntax that also
doesn't raise any warning if id is nil.1 parent 4c62859 commit d971ad5
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
347 | 347 | | |
348 | 348 | | |
349 | 349 | | |
350 | | - | |
| 350 | + | |
351 | 351 | | |
352 | 352 | | |
353 | 353 | | |
| |||
0 commit comments