Skip to content

Fixing incorrect index in format string in ParameterBinderBase - #12630

Merged
Andrew (anmenaga) merged 1 commit into
PowerShell:masterfrom
powercode:Bugs/ParamBinderFormatString
May 12, 2020
Merged

Andrew (anmenaga) merged 1 commit into
PowerShell:masterfrom
powercode:Bugs/ParamBinderFormatString

Conversation

@powercode

@powercode Staffan Gustafsson (powercode) commented May 12, 2020 •

Copy link
Copy Markdown
Collaborator

PR Summary

Formatting string using index 1 to refer to 1st argument.

PR Context

This is manifested when using Trace-Command, for example:

trace-command -Expression {export-alias -LiteralPath ([NullString]::Value)} -PSHost -Name ParameterBinding

PR Checklist

@iSazonov Ilya (iSazonov) added this to the 7.1.0-preview.3 milestone May 12, 2020
@iSazonov Ilya (iSazonov) added the CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log label May 12, 2020
@iSazonov Ilya (iSazonov) changed the title ParameterBinderBase: Fixing incorrect index in format string Fixing incorrect index in format string in ParameterBinderBase May 12, 2020
@anmenaga
Andrew (anmenaga) merged commit 013839c into PowerShell:master May 12, 2020
@ghost

Copy link
Copy Markdown

🎉v7.1.0-preview.3 has been released which incorporates this pull request.:tada:

Handy links:

@powercode
Staffan Gustafsson (powercode) deleted the Bugs/ParamBinderFormatString branch May 19, 2020 19:42
Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj-contribs/PowerShell that referenced this pull request Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants