Skip to content

setup.ps1 has a syntax issue #727

Description

@D4rkL0tus

Simple issue here, figured I'd report it.

The setup.ps1 program has a syntax issue within the try and catch block within lines of 496, 548, 500, and 541

The debug log is saying that it is missing the closing bracket. And that

Wirite-ErrorMsg "Installation failed: $_"
The string is missing the terminator.

EyeWitness\setup\setupCOPY.ps1:496 char:15

  • function Main {
  •           ~
    

Missing closing '}' in statement block or type definition.
+ CategoryInfo : ParserError: (:) [], ParseException
+ FullyQualifiedErrorId : TerminatorExpectedAtEndOfString

EyeWitness\setup\setupCOPY.ps1:548 char:5

  • Main
  • ~
    

The Try statement is missing its Catch or Finally block.

EyeWitness\setup\setupCOPY.ps1:500 char:9

  • try {
    
  •     ~
    

Missing closing '}' in statement block or type definition.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions