Skip to content

Conversation

TylerLeonhardt
Copy link
Member

@TylerLeonhardt TylerLeonhardt commented Mar 13, 2020

Now we are certain that GetCommandInfoAsync will only run when we have a Function. I included Unknown as well just in case, but I could take that out.

We should no longer see these in logs:

2020-03-13 12:37:12.884 -07:00 [ERR] Execution of the following command(s) completed with errors:

    Microsoft.PowerShell.Core\Get-Command -Name -ErrorAction Ignore

^ Explanation: -Name is being passed in to Get-Command.

@TylerLeonhardt TylerLeonhardt requested a review from rjmholt as a code owner March 13, 2020 19:36
Co-Authored-By: Robert Holt <rjmholt@gmail.com>
@TylerLeonhardt TylerLeonhardt merged commit abf2496 into PowerShell:master Mar 16, 2020
@TylerLeonhardt TylerLeonhardt deleted the optimize-for-commands branch March 16, 2020 16:22
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.

2 participants