Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added AsNewFile switch to Out-CurrentFile #869

Merged
merged 2 commits into from
Feb 19, 2019

Conversation

dfinke
Copy link
Contributor

@dfinke dfinke commented Feb 17, 2019

Also, if a file is not open, it creates a new one

@dfinke dfinke requested a review from rjmholt as a code owner February 17, 2019 17:02
Copy link
Member

@TylerLeonhardt TylerLeonhardt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM just a single little nit 😊

…e.ps1

Co-Authored-By: dfinke <finked@hotmail.com>
@TylerLeonhardt TylerLeonhardt merged commit 1a86d4b into PowerShell:master Feb 19, 2019
@TylerLeonhardt
Copy link
Member

Thanks @dfinke! 🎉

TylerLeonhardt pushed a commit to TylerLeonhardt/PowerShellEditorServices that referenced this pull request Mar 18, 2019
* Added `AsNewFile` switch, plus, if a file is not open, it creates a new one

* Update module/PowerShellEditorServices/Commands/Public/Out-CurrentFile.ps1

Co-Authored-By: dfinke <finked@hotmail.com>
TylerLeonhardt pushed a commit that referenced this pull request Mar 20, 2019
* Added `AsNewFile` switch, plus, if a file is not open, it creates a new one

* Update module/PowerShellEditorServices/Commands/Public/Out-CurrentFile.ps1

Co-Authored-By: dfinke <finked@hotmail.com>
fflaten added a commit to fflaten/PowerShellEditorServices that referenced this pull request Feb 20, 2023
PowerShell#869 forgot to assign a returned editorcontext,
causing new output from the command. Assigning to null.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants