pauby / ChocoPackages

Chocolatey packages I maintain
26 stars 37 forks source link

(dbatools, dbatools-library.powershell) Fixes Missing Dependency #184

Closed JPRuskin closed 8 months ago

JPRuskin commented 1 year ago

Description

Adds the dbatools-library.powershell package, updates dbatools to have a dependency on it.

Additionally, fixes module installation when a package is using package fix version notation, as importing the module would fail when it installed using the package version.

Motivation and Context

DbaTools was missing the required DbaTools.Library module. This fixes the install so that it will import correctly!

How Has this Been Tested?

Types of changes

Checklist:

pauby commented 1 year ago

@JPRuskin Thanks for PR'ing this. I need to apologise as when we were speaking about it this never occurred to me and only now, seeing it written down, it does.

.library is not a supported extension. dbatools-library.powershell would be a better name.

pauby commented 8 months ago

@JPRuskin awesome work! Thanks for your contribution!