Skip to content
This repository was archived by the owner on Jan 21, 2021. It is now read-only.
This repository was archived by the owner on Jan 21, 2021. It is now read-only.

Remove-Comment doesnt seem to work #366

@xze3n

Description

@xze3n

Exception calling "Create" with "1" argument(s): "Missing closing ')' after expression in 'if' statement."
At C:\Users\User\Documents\WindowsPowerShell\Modules\ScriptModification\Remove-Comment.ps1:157 char:40

  • Write-Output ([ScriptBlock]::Create <<<< ($StringBuilder.ToString()))
    
    • CategoryInfo : NotSpecified: (:) [], MethodInvocationException
    • FullyQualifiedErrorId : DotNetMethodException

Just to be clear, i have almost no experience with this language. I provided the path parameter and i got this error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions