Describe the bug
When calling TrimApplication, if an invalid Configuration is passed in the TrimApplication call we get a Sequence contains no elements error when the Linq block blows up.
To Reproduce
Steps to reproduce the behaviour:
Call TrimApplication with an AppPath that is contains "Debug", for example, but pass in "Release" as the configuration parameter.
Execute the API call
See error
Expected behavior
Better error messaging when it blows up, so that the user can better identify what went wrong.
Describe the bug When calling TrimApplication, if an invalid Configuration is passed in the TrimApplication call we get a
Sequence contains no elements
error when the Linq block blows up.To Reproduce Steps to reproduce the behaviour:
Expected behavior Better error messaging when it blows up, so that the user can better identify what went wrong.
Screenshot
Additional context Suggested Fix - https://github.com/WildernessLabs/Meadow.CLI/pull/586