summaryrefslogtreecommitdiff
path: root/vcbuild.bat
diff options
context:
space:
mode:
authorDaniel Bevenius <daniel.bevenius@gmail.com>2017-11-03 08:05:11 -0700
committerDaniel Bevenius <daniel.bevenius@gmail.com>2017-11-09 14:44:04 +0100
commitf002c3d2edad51bfaaf825bc6c5a8ea78fe63d16 (patch)
tree24ccdf221e919d2293f5d864ecb1e470c2a5267c /vcbuild.bat
parentf823d381e700ec152575ebd2cdc4420def690833 (diff)
downloadnode-new-f002c3d2edad51bfaaf825bc6c5a8ea78fe63d16.tar.gz
build: include src\tracing when linting on win
This commit excludes src\tracing\trace_event.h and src\tracing\trace_event_common.h from the linter but allows the rest of the files in src\tracing to be examined by the linter which is similar to what the Makefile does. PR-URL: https://github.com/nodejs/node/pull/16720 Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'vcbuild.bat')
-rw-r--r--vcbuild.bat6
1 files changed, 4 insertions, 2 deletions
diff --git a/vcbuild.bat b/vcbuild.bat
index e885c5b859..d2683f9988 100644
--- a/vcbuild.bat
+++ b/vcbuild.bat
@@ -501,8 +501,10 @@ goto exit
echo %1 | findstr /c:"src\node_root_certs.h"
if %errorlevel% equ 0 goto exit
-@rem skip subfolders under /src
-echo %1 | findstr /r /c:"src\\.*\\.*"
+echo %1 | findstr /r /c:"src\\tracing\\trace_event.h"
+if %errorlevel% equ 0 goto exit
+
+echo %1 | findstr /r /c:"src\\tracing\\trace_event_common.h"
if %errorlevel% equ 0 goto exit
echo %1 | findstr /r /c:"test\\addons\\[0-9].*_.*\.h"