diff --git a/src/chocolatey.resources/helpers/chocolateyInstaller.psm1 b/src/chocolatey.resources/helpers/chocolateyInstaller.psm1 index 64e54c4068..e2b740934d 100644 --- a/src/chocolatey.resources/helpers/chocolateyInstaller.psm1 +++ b/src/chocolatey.resources/helpers/chocolateyInstaller.psm1 @@ -32,7 +32,7 @@ $packageParameters = $env:chocolateyPackageParameters # ensure module loading preference is on $PSModuleAutoLoadingPreference = "All"; -Write-Debug "Posh version is $($psversiontable.PsVersion.ToString())" +Write-Debug "PowerShell Version is '$($PSVersionTable.PSVersion)' and CLR Version is '$($PSVersionTable.CLRVersion)'." # grab functions from files Get-Item $helpersPath\functions\*.ps1 | diff --git a/src/chocolatey/infrastructure/powershell/PoshHostRawUserInterface.cs b/src/chocolatey/infrastructure/powershell/PoshHostRawUserInterface.cs index 177a56fc59..a59df91e0d 100644 --- a/src/chocolatey/infrastructure/powershell/PoshHostRawUserInterface.cs +++ b/src/chocolatey/infrastructure/powershell/PoshHostRawUserInterface.cs @@ -68,7 +68,8 @@ public override Size MaxWindowSize public override Coordinates WindowPosition { get { return new Coordinates(Console.WindowLeft, Console.WindowTop); } - set { Console.SetWindowPosition(value.X, value.Y); } } + set { Console.SetWindowPosition(value.X, value.Y); } + } public override Size WindowSize {