Skip to content

Commit

Permalink
installer.vm: be consistent with variable names
Browse files Browse the repository at this point in the history
Use configPath (and not configFile) for configuration file paths to be
consistent with the configuration file few lines up.
  • Loading branch information
Ana06 committed Oct 10, 2023
1 parent a12b8ba commit 497279c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/installer.vm/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ try {

# Set Profile/Version specific configurations
VM-Write-Log "INFO" "[+] Beginning Windows OS VM profile configuration changes"
$configFile = Join-Path $Env:VM_COMMON_DIR "config.xml" -Resolve
VM-Apply-Configurations $configFile
$configPath = Join-Path $Env:VM_COMMON_DIR "config.xml" -Resolve
VM-Apply-Configurations $configPath

# Configure PowerShell and cmd prompts
VM-Configure-Prompts
Expand Down

0 comments on commit 497279c

Please sign in to comment.