Skip to content

tools: fix exit code when linting from CI#6412

Closed
mscdex wants to merge 1 commit intonodejs:masterfrom
mscdex:tools-fix-jslint-ci-exit-code
Closed

tools: fix exit code when linting from CI#6412
mscdex wants to merge 1 commit intonodejs:masterfrom
mscdex:tools-fix-jslint-ci-exit-code

Conversation

@mscdex
Copy link
Copy Markdown
Contributor

@mscdex mscdex commented Apr 27, 2016

Checklist
  • tests and code linting passes
  • the commit message follows commit guidelines
Affected core subsystem(s)
  • tools
Description of change

Before this, if there were lint errors reported by make jslint-ci, the process would still exit with an exit code of zero.

This commit fixes that to align with make jslint (exit with code 1 on lint errors).

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

Labels

tools Issues and PRs related to the tools directory.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants