mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
Fix Start-DevPowerShell for PowerShellCore edition on windows
This commit is contained in:
1 parent
70ff0cef19
commit
ce5cc3ca37
1 file changed
+2
-2
+2
-2
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user