Commit b3f0daf
fix(parsing): handle whitespace only strings (#2007)
* fix: add a check to handle empty or newline-only strings before calling `from_json`
* style: adjust comment format for better readability
Co-authored-by: Robert Craigie <robert@craigie.dev>
---------
Co-authored-by: SenorSpes <138108569+senorNox@users.noreply.github.com>
Co-authored-by: Robert Craigie <robert@craigie.dev>1 parent fad098f commit b3f0daf
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
438 | 438 | | |
439 | 439 | | |
440 | 440 | | |
| 441 | + | |
| 442 | + | |
441 | 443 | | |
442 | 444 | | |
443 | 445 | | |
| |||
0 commit comments