Skip to content

Missleading exit code #21

@m0xzl

Description

@m0xzl

In generate.js on line 32 the statement "process.exit(1);" is outside the catch block. I suggest that it should be inside.

I noticed because I tried running generate.js from a bash script which checks the exit code before copying the data files. As is it reports that generate.js has failed, but in fact it has completed without errors.

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