Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

AvoidPositionalParametersNoViolations.ps1 lacks an Space #1569

Copy link
Copy link
@Kriegel

Description

@Kriegel
Issue body actions

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.