wgnf / liz

liz (ˈlɪz) is a tool to extract license-information from your project/solution aimed on a fast and correct process. Whether it's via a dotnet-CLI-Tool, Cake-Addin or Nuke-Addon
MIT License
9 stars 0 forks source link

[BUG]: Gathering dependencies on a german Windows does not work #32

Closed wgnf closed 2 years ago

wgnf commented 2 years ago

Description of the bug

Executing liz on a german (or any other language than english) machine leads into an Exception being thrown when liz gatheres the dependencies of a project

Steps to reproduce

  1. have a non-english operating system
  2. execute liz
  3. observe Exception when dependencies are determined

Additional Information

This is due to the output of dotnet list package ... being in the OS language - here it's german:

grafik

This leads to issues, because the parser depends on finding strings like Resolved and Transitive Dependencies

wgnf commented 2 years ago

Genius idea:
read the version string starting from the right until we see the first space

thanks Sven 🤯