summaryrefslogtreecommitdiff
path: root/tools/format.py
diff options
context:
space:
mode:
authorBert Belder <bertbelder@gmail.com>2018-08-26 01:36:21 +0200
committerBert Belder <bertbelder@gmail.com>2018-08-26 18:27:12 +0200
commit4747f50f5240510b219f681db4e1b6386d1a85df (patch)
tree372b576bc69b49021e8fbb096d090e434f118a82 /tools/format.py
parent17d6d6b336e48ab53ae1efa546df7c7b045152da (diff)
tools/format: fix clang-format glob pattern
Diffstat (limited to 'tools/format.py')
-rwxr-xr-xtools/format.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/format.py b/tools/format.py
index 85dbf2d4d..af8cc5e4c 100755
--- a/tools/format.py
+++ b/tools/format.py
@@ -13,7 +13,7 @@ rustfmt_config = os.path.join(tools_path, "rustfmt.toml")
os.chdir(root_path)
run([clang_format_path, "-i", "-style", "Google"] +
- find_exts("src", ".cc", ".h"))
+ find_exts("libdeno", ".cc", ".h"))
for fn in ["BUILD.gn", ".gn"] + find_exts("build_extra", ".gn", ".gni"):
run(["third_party/depot_tools/gn", "format", fn], env=google_env())