Skip to content

Code inconsistent in function Clean_Func_Calls #10

@pse1202

Description

@pse1202

Write-Verbose "[Clean_Func_Calls] Replacing: $($match)`tWith: $($match.ToString().replace('(','').replace(')',''))"

$Command = $Command.Replace($match, $match.ToString().replace('"','').replace("'",''))

In the function Clean_Func_Calls, the verbose logging suggests removing the parentheses and the actual command removes the quotes.

However, I think the code is supposed to remove the backticks from the function names judging by the name "Clean_Func_Calls".

Can this be checked? Thanks

BTW, thanks for this useful tool.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions