Azure / nxtools

Azure Automanage Machine Configuration Linux DSC resources
Other
13 stars 13 forks source link

Fix nxPackage crash when package not installed #50

Closed gurrajatwal closed 10 months ago

gurrajatwal commented 10 months ago

Pull Request (PR) description

nxPackage crashes when dpkg is picked as the package manager and the package itself is not installed. To fix this, I'm updating nxPackage to properly handle when "dpkg --status \<package>" returns error output. Created unit tests to cover this path.

This Pull Request (PR) fixes the following issues

Task list