Skip to content

Return code should be non-zero on error #98

Closed

Description

@vincentbernat

Hey!

When running diff2html, I would expect that a fatal error would return a status code different of 0. Currently, the error is printed but the status code says 0.

Activity

  1. rtfpessoa commented on Apr 15, 2020

    @rtfpessoa
    Owner

    I guess I never worked on that part. Eventually I should set process.exitCode

  2. rtfpessoa commented on Apr 17, 2020

    @rtfpessoa
    Owner

    Check https://github.com/rtfpessoa/diff2html-cli#exit-status-codes for the codes and you can also start using it in version 5.1.0.

  3. vincentbernat commented on Apr 17, 2020

    @vincentbernat
    Author

    Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions