summaryrefslogtreecommitdiff
path: root/git-hooks/pre-commit
diff options
context:
space:
mode:
authorKit La Touche <kit@transneptune.net>2024-10-23 21:56:31 -0400
committerKit La Touche <kit@transneptune.net>2024-10-23 21:56:31 -0400
commit1f769855df2d9cf2bca883a0475670f227e3678b (patch)
tree6c94d9c868eb022588a07245df978478034ac5dd /git-hooks/pre-commit
parent8f360dd9cc45bb14431238ccc5e3d137c020fa7b (diff)
parent461814e5174cef1be3e07b4e4069314e9bcbedd6 (diff)
Merge branch 'main' into wip/mobile
Diffstat (limited to 'git-hooks/pre-commit')
-rwxr-xr-xgit-hooks/pre-commit4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-hooks/pre-commit b/git-hooks/pre-commit
index cafdb8d..4485005 100755
--- a/git-hooks/pre-commit
+++ b/git-hooks/pre-commit
@@ -4,8 +4,8 @@
# run. It gets old fast. That's why this uses `cargo check` and not `cargo
# test`, for example.
-# Make sure the UI is up to date.
-tools/build-ui
+# Make sure package-lock.json is up to date with package.json
+npm ci --dry-run
# Make sure Cargo.lock is up to date with Cargo.toml.
cargo update --locked --workspace
# Make sure there are no screamers in the code.