Skip to content

Commit b74da23

Browse files
pfaffeDevtools-frontend LUCI CQ
authored andcommitted
Fix path checks in presubmit
Bug: none Change-Id: Ic1823aada590c945e4a37eacd6de1aeecdb732e8 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6182148 Reviewed-by: Mathias Bynens <[email protected]> Auto-Submit: Philip Pfaffe <[email protected]> Commit-Queue: Mathias Bynens <[email protected]> Commit-Queue: Nikolay Vitkov <[email protected]> Reviewed-by: Nikolay Vitkov <[email protected]>
1 parent a7ef18a commit b74da23

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

PRESUBMIT.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,8 @@ def _getFilesToLint(input_api, output_api, lint_config_files,
691691
# Exclude front_end/third_party and front_end/generated files.
692692
files_to_lint = [
693693
file for file in files_to_lint
694-
if "third_party" not in file and "generated" not in file
694+
if "front_end/third_party" not in file
695+
and "front_end/generated" not in file
695696
]
696697

697698
if len(files_to_lint) == 0:

0 commit comments

Comments
 (0)