Commit 6f4953a
committed
fix(analysisinfo): detect auto-selected package from Windows analyzer logs
The Windows analyzer logs the package selection as:
INFO: analysis package selected: "pkg"
but get_package() only searched for the Linux format:
INFO: Automatically selected analysis package "pkg"
This caused the package field to remain empty in reports for
Windows analyses where no package was explicitly specified.
Now searches for both log formats using len(marker) instead of
a hardcoded offset.1 parent 9e4ade7 commit 6f4953a
1 file changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
72 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
73 | 80 | | |
74 | 81 | | |
75 | 82 | | |
| |||
0 commit comments