Skip to content

Commit 89ac338

Browse files
committed
Loaded the util script inside the main jenv file
1 parent 981f16c commit 89ac338

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/jenv-uninstall.psm1

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ function Invoke-Uninstall {
1919
return
2020
}
2121

22-
# Provides the Open-Prompt function
23-
Import-Module $PSScriptRoot\util.psm1
24-
2522
# Abort Uninstall
2623
if ((Open-Prompt "Uninstalling JEnv" "Are you sure you want to delete JEnv entirely from this computer?" "Yes", "No" "This will remove JEnv from your computer", "Last chance to abort the disaster" 1) -eq 1) {
2724
Write-Host "Aborted uninstallation"

src/jenv.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ param (
3232
)
3333

3434
#region Load all required modules
35+
Import-Module $PSScriptRoot\util.psm1 # Provides the Open-Prompt function
3536
Import-Module $PSScriptRoot\jenv-list.psm1 -Force
3637
Import-Module $PSScriptRoot\jenv-add.psm1 -Force
3738
Import-Module $PSScriptRoot\jenv-remove.psm1 -Force

0 commit comments

Comments
 (0)