Skip to content

Commit 1dc4fc1

Browse files
danbevevanlucas
authored andcommitted
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: #16720 Reviewed-By: James M Snell <[email protected]>
1 parent 43c5726 commit 1dc4fc1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

vcbuild.bat

+4-2
Original file line numberDiff line numberDiff line change
@@ -501,8 +501,10 @@ goto exit
501501
echo %1 | findstr /c:"src\node_root_certs.h"
502502
if %errorlevel% equ 0 goto exit
503503

504-
@rem skip subfolders under /src
505-
echo %1 | findstr /r /c:"src\\.*\\.*"
504+
echo %1 | findstr /r /c:"src\\tracing\\trace_event.h"
505+
if %errorlevel% equ 0 goto exit
506+
507+
echo %1 | findstr /r /c:"src\\tracing\\trace_event_common.h"
506508
if %errorlevel% equ 0 goto exit
507509

508510
echo %1 | findstr /r /c:"test\\addons\\[0-9].*_.*\.h"

0 commit comments

Comments
 (0)