Skip to content

Bash parser shows errors for working script #260

Description

@de-jcup

Situation

function eventNotExists(){
        if [[ "$FUNCTION_RESULT_TRUE" = ""]]; then
            exit 100
        fi
}

Outcome:
image

First error:

Multiple markers at this line
- This curly brace is not closed. So function 'eventNotExists' is not valid.
- It seems this opening bracket is missing a closing one.

Second error:

This 'if' statement is not correct closed. A 'fi' is missing

Wanted

No error shall be mentioned...

Solution

Fix parser bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions