Skip to content

Commit

Permalink
Update Resolve-CommandName.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
ninmonkey committed Jun 9, 2023
1 parent b57ac6a commit ee6d0e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/Resolve-CommandName.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ function Resolve-CommandName {
gcm '*find*' | rescmd -QualifiedName -PreserveAlias
#>
$commands = Get-Command @getCommandSplat | ForEach-Object {
$commands = Get-Command -ea 'ignore' @getCommandSplat | ForEach-Object {
# Get-Command -Name $_.ResolvedCommand
# if ($_.CommandType -eq 'Alias' -and (! $PreserveAlias)) {
if ($_.CommandType -eq 'Alias') {
Expand Down

0 comments on commit ee6d0e7

Please sign in to comment.