Skip to content

Commit

Permalink
Fix Write-Information syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
SamErde committed Nov 15, 2024
1 parent ffcafcc commit b67bb3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/PSPreworkout/Public/Set-DefaultTerminal.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ function Set-DefaultTerminal {
New-ItemProperty -Path 'HKCU:\Console\%%Startup' -Name 'DelegationTerminal' -Value '{E12CFF52-A866-4C77-9A90-F570A7AA2C6B}' -Force | Out-Null
}
default {
Write-Information -Message 'No terminal application was specified.' -InformationAction Continue
Write-Information -MessageData 'No terminal application was specified.' -InformationAction Continue
}
}
} # end process block

end {
Write-Information -Message "Default terminal set to: ${Name}." -InformationAction Continue
Write-Information -MessageData "Default terminal set to: ${Name}." -InformationAction Continue
} # end end block

} # end function Set-DefaultTerminal

0 comments on commit b67bb3b

Please sign in to comment.