summaryrefslogtreecommitdiff
path: root/tools/format.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/format.py')
-rwxr-xr-xtools/format.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/format.py b/tools/format.py
index fe053eaa3..083640c22 100755
--- a/tools/format.py
+++ b/tools/format.py
@@ -39,7 +39,7 @@ qrun(
print "prettier"
qrun(["node", prettier, "--write", "--loglevel=error"] + ["rollup.config.js"] +
glob("*.json") + glob("*.md") +
- find_exts([".github", "js", "tests", "tools", "website"],
+ find_exts([".github", "js", "tests", "tools", "website", "core"],
[".js", ".json", ".ts", ".md"],
skip=["tools/clang", "js/deps"]))
@@ -47,4 +47,4 @@ print "rustfmt"
qrun([
"third_party/rustfmt/" + platform() +
"/rustfmt", "--config-path", rustfmt_config, "build.rs"
-] + find_exts(["src"], [".rs"]))
+] + find_exts(["src", "core"], [".rs"]))