diff --git a/Makefile b/Makefile index da37eab4550069..1aa317c88f01f0 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/vcbuild.bat b/vcbuild.bat index 8c9658b7e3d9a5..41a82e1551af87 100644 --- a/vcbuild.bat +++ b/vcbuild.bat @@ -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.