GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||
GeezerVison is showing github.com — Fix test for `-WorkingDirectory` when `$PROFILE` doesn't exist by SteveL-MSFT · Pull Request #8152 · PowerShell/PowerShell Conversation
|
| $currentProfile = Get-Content $PROFILE | ||
| } | ||
| else { | ||
| New-Item -ItemType File -Path $PROFILE -Force |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
| New-Item -ItemType File -Path $PROFILE -Force | |
| $null = New-Item -ItemType File -Path $PROFILE -Force |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Merging as this comment is non-blocking.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
| New-Item -ItemType File -Path $PROFILE -Force | |
| New-Item -ItemType File -Path $PROFILE -Force > $null |
😉
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.