Skip to content

Commit ab5198a

Browse files
🩹 [Patch]: Enable reinstall of modules to ensure the correct version of GitHub is installed (#46)
## Description This pull request includes a small change to the `scripts/init.ps1` file. The change adds two new parameters, `Reinstall` and `WarningAction`, to the process block to ensure that the module is reinstalled and warnings are suppressed. - Fixes #40 Changes in `process {` in file `scripts/init.ps1`: * Added `Reinstall` parameter set to `true`. * Added `WarningAction` parameter set to `'SilentlyContinue'`. ## Type of change <!-- Use the check-boxes [x] on the options that are relevant. --> - [ ] 📖 [Docs] - [ ] 🪲 [Fix] - [x] 🩹 [Patch] - [ ] ⚠️ [Security fix] - [ ] 🚀 [Feature] - [ ] 🌟 [Breaking change] ## Checklist <!-- Use the check-boxes [x] on the options that are relevant. --> - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas
1 parent 3dd6874 commit ab5198a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/init.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ process {
4444
Repository = 'PSGallery'
4545
TrustRepository = $true
4646
Prerelease = $Prerelease
47+
Reinstall = $true
48+
WarningAction = 'SilentlyContinue'
4749
}
4850
if ($Version) {
4951
$params['Version'] = $Version

0 commit comments

Comments
 (0)