Skip to content

Commit

Permalink
build: fail linter if linting not available
Browse files Browse the repository at this point in the history
  • Loading branch information
gibfahn committed Jun 13, 2017
1 parent d71718d commit 2f141ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -924,6 +924,7 @@ lint:
@echo "Linting is not available through the source tarball."
@echo "Use the git repo instead:" \
"$ git clone https://github.com/nodejs/node.git"
exit 1

lint-ci: lint
endif
Expand Down
2 changes: 1 addition & 1 deletion vcbuild.bat
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ goto exit
:no-lint
echo Linting is not available through the source tarball.
echo Use the git repo instead: $ git clone https://github.com/nodejs/node.git
goto exit
exit /b 1

:create-msvs-files-failed
echo Failed to create vc project files.
Expand Down

0 comments on commit 2f141ca

Please sign in to comment.