镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content
This repository was archived by the owner on Jun 5, 2020. It is now read-only.
This repository was archived by the owner on Jun 5, 2020. It is now read-only.

Exit status for "ccjs" command #34

Open

Description

@bitc

When running ccjs from the command line, it will return exit status "0" (Success) even when there were errors.

It should return some other exit status to indicate an error

$ ccjs test.js && echo "SUCCESS"

... snip ...

_build/all.js:2214: ERROR - Parse error. identifier is a reserved word
      while (k < final) {
                 ^

11 error(s), 0 warning(s)
SUCCESS

Activity

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

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