diff --git a/wsl/wsl_install.ps1 b/wsl/wsl_install.ps1 index b38ce2e..149f208 100644 --- a/wsl/wsl_install.ps1 +++ b/wsl/wsl_install.ps1 @@ -69,7 +69,7 @@ begin { # set location to workspace folder Push-Location "$PSScriptRoot/.." # import InstallUtils for the Update-SessionEnvironmentPath function - Import-Module (Resolve-Path './modules/InstallUtils') + Import-Module (Resolve-Path './modules/InstallUtils') -Force Write-Host 'checking if the repository is up to date...' -ForegroundColor Cyan if ((Update-GitRepository) -eq 2) { diff --git a/wsl/wsl_setup.ps1 b/wsl/wsl_setup.ps1 index 464b4e2..5c54a34 100644 --- a/wsl/wsl_setup.ps1 +++ b/wsl/wsl_setup.ps1 @@ -127,9 +127,9 @@ begin { # set location to workspace folder Push-Location "$PSScriptRoot/.." # import InstallUtils for the Invoke-GhRepoClone function - Import-Module (Convert-Path './modules/InstallUtils') + Import-Module (Convert-Path './modules/InstallUtils') -Force # import SetupUtils for the Set-WslConf function - Import-Module (Convert-Path './modules/SetupUtils') + Import-Module (Convert-Path './modules/SetupUtils') -Force if (-not $SkipRepoUpdate) { Write-Host "`nchecking if the repository is up to date..." -ForegroundColor Cyan