8000 Adding an error code for no errors and some warnings · Issue #94 · mpeterv/luacheck · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Adding an error code for no errors and some warnings #94
Closed
@ikouchiha47

Description

@ikouchiha47

Hello,

So I was writing a Makefile, which does a luacheck as a step. but the luacheck returns an exit code of 1 or 2 when there are some warnings involved along with other things . which makes my make fail.

Which is totally not required, also I neither want to suppress the warnings nor do a || true . Just log the warnings and moove along ..

So I was thinking of having a flag .. which would return an exit code of 4 or anything else when there are warnings. and based on that I can actually check in the Makefile / bash srcipt and return true or exit(0) .. or even like if the flag is present .. then return an exit code of 0 anyway..but log the warnings,

I can create a PR for this as well. Makes life easier

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

      0