Skip to content

AvoidPositionalParametersNoViolations.ps1 lacks an Space #1569

Closed
@Kriegel

Description

@Kriegel

Hi !

Currently i am developing an PowerShell prettifier / beautifier / refactoring Module
For this I am using the Rule Testing Files out of this Module.

So I am found a little Typo in the File named:
AvoidPositionalParametersNoViolations.ps1

https://github.com/PowerShell/PSScriptAnalyzer/blob/master/Tests/Rules/AvoidPositionalParametersNoViolations.ps1

The Typo is on line 6

get-service-computername localhost | where {($_.status -eq "Running") -and ($_.CanStop -eq $true)}

a space between get-service and -computername is missing.

Hope this helps.

My PowerShell prettifier / beautifier / refactoring Module is developed here:
Kriegel/BeautyOfPower

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions