Commit 0b5c8cb
committed
fix: normalize scanUsage option to boolean
The scanUsage option was not passed through toBool(), so string values
like "false" were treated as truthy. Use toBool() when the value is
provided while preserving the !compare default when it is not.
Closes #3101 parent 94e8619 commit 0b5c8cb
2 files changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
87 | 92 | | |
0 commit comments