From bf49a0684389b3dc89e9e8124ef9885517960f3f Mon Sep 17 00:00:00 2001 From: Benedek Farkas Date: Thu, 24 Nov 2022 09:26:36 +0100 Subject: [PATCH] Updating Measure-AutomaticVariableAlias help text to make it clear(er) as $PSItem is not the only automatic variable, but only one with an alias --- .../Measure-AutomaticVariableAlias.psm1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lombiq.Analyzers.PowerShell/Rules/Measure-AutomaticVariableAlias/Measure-AutomaticVariableAlias.psm1 b/Lombiq.Analyzers.PowerShell/Rules/Measure-AutomaticVariableAlias/Measure-AutomaticVariableAlias.psm1 index 8e2a7e24..ce70c4c7 100644 --- a/Lombiq.Analyzers.PowerShell/Rules/Measure-AutomaticVariableAlias/Measure-AutomaticVariableAlias.psm1 +++ b/Lombiq.Analyzers.PowerShell/Rules/Measure-AutomaticVariableAlias/Measure-AutomaticVariableAlias.psm1 @@ -1,8 +1,8 @@ <# .SYNOPSIS - Detects the usages of the alias ($_) of the automatic variable ($PSItem) and suggests to correct them. + Detects the usages of the alias $_ of the automatic variable $PSItem and suggests to correct them. .DESCRIPTION - The full name of the automatic variable ($PSItem) should be used instead of its alias ($_) for consistency. + The full name of the automatic variable $PSItem should be used instead of its alias $_ for consistency. .EXAMPLE Measure-AutomaticVariableAlias -Token $Token .INPUTS