Fix Start-DevPowerShell for PowerShellCore edition on windows
This commit is contained in:
parent
70ff0cef19
commit
ce5cc3ca37
|
@ -895,9 +895,9 @@ function Start-DevPowerShell {
|
|||
)
|
||||
|
||||
try {
|
||||
if ((-not $NoNewWindow) -and ($IsLinux -or $IsOSX))
|
||||
if ((-not $NoNewWindow) -and ($IsCoreCLR))
|
||||
{
|
||||
Write-Warning "Start-DevPowerShell -NoNewWindow is implied on non-windows systems"
|
||||
Write-Warning "Start-DevPowerShell -NoNewWindow is currently implied in PowerShellCore edition https://github.com/PowerShell/PowerShell/issues/1543"
|
||||
$NoNewWindow = $true
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue