Commit 706c0f7
committed
Fix failing --no-check-version cli option
Currently, if the --no-check-version option is used,
the scan fails because an unbound variable is passed to
the run_scan function.
Fix this by assigning None in that case. Add a test that
passes with this change and fails without it.
Signed-off-by: alexzurbonsen <alexander.zur.bonsen@tngtech.com>1 parent 65e1c2d commit 706c0f7
2 files changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
480 | 480 | | |
481 | 481 | | |
482 | 482 | | |
| 483 | + | |
| 484 | + | |
483 | 485 | | |
484 | 486 | | |
485 | 487 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
124 | 130 | | |
125 | 131 | | |
126 | 132 | | |
| |||
0 commit comments