-
-
Notifications
You must be signed in to change notification settings - Fork 74
Open
Description
- First it doesn't
[CmdletBinding()]
.... - Then, it tries to -ForceBootstrap on NuGet (without -Scope) which requires elevation
- Then, it tries to install some modules with -Force, meaning it installs them every time
- Then it installs some other modules without -Scope, meaning it has to be elevated
- Then it doesn't explicitly import Pester 4, meaning all the tests fail
- But worse, the built module won't work, because it's missing the initialization code which only exists in
PSSlack.psm1
Of course, it turns out you're not using the build anyway, you're just shipping the source!
I would suggest using Install-RequiredModule
, or maybe PSDepends 😉, and stick that initialization code into a private folder somewhere...
RamblingCookieMonsterRamblingCookieMonster
Metadata
Metadata
Assignees
Labels
No labels