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

Remove-Comment doesnt seem to work #366

Open
XZE3N opened this issue Jan 20, 2021 · 0 comments
Open

Remove-Comment doesnt seem to work #366

XZE3N opened this issue Jan 20, 2021 · 0 comments

Comments

@XZE3N
Copy link

XZE3N commented Jan 20, 2021

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant