Skip to content

Commit e12b975

Browse files
committed
bug fixes from SunshineScriptInstaller
1 parent 5e42622 commit e12b975

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

UndoScript.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,9 @@ try {
107107
}
108108

109109
# Get commands from Apollo config if available
110-
if ($settings.apolloConfPath) {
111-
Write-Host "Reading commands from Apollo config: $($settings.apolloConfPath)"
112-
$apolloCommands = Get-GlobalPrepCommands -ConfigPath $settings.apolloConfPath
110+
if ($settings.apolloConfigPath) {
111+
Write-Host "Reading commands from Apollo config: $($settings.apolloConfigPath)"
112+
$apolloCommands = Get-GlobalPrepCommands -ConfigPath $settings.apolloConfigPath
113113
foreach ($cmd in $apolloCommands) {
114114
if ($cmd.undo) {
115115
# This will overwrite any duplicate keys from Sunshine config

0 commit comments

Comments
 (0)