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>
This commit is contained in:
Daniel Bevenius committed 2017-11-09 14:44:04 +01:00
1 parent f823d381e7
commit f002c3d2ed
1 file changed
+4 -2
+4 -2
View File
@@ -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"