Skip to content

Commit

Permalink
Fix xml regex
Browse files Browse the repository at this point in the history
Previous regex was inadvertently including some files under
tools/metrics

b/296056775

Change-Id: Iae5d5537ae52e7c7e421db529010f52af69aacf5
  • Loading branch information
joeltine committed Sep 7, 2023
1 parent 334f296 commit beb5eb9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ exclude: |
|
components/update_client/((?!cobalt).)*$
|
# Ignore everything under tools/metrics _except_ xml files. We need
# those validated to keep the telemetry/metrics pipeline working.
tools/metrics/(.*\.(?!xml$)[^/]*|[^/.]+)$|
# Ignore everything under tools/metrics _except_ Cobalt xml files. We
# need those validated to keep the telemetry/metrics pipeline working.
^tools/metrics/((?!cobalt\/.*\.xml).)*$|
.*\.pb\.cc$ |
.*\.pb\.h$ |
.*\.patch$ |
Expand Down

0 comments on commit beb5eb9

Please sign in to comment.