aboutsummaryrefslogtreecommitdiff
path: root/.husky/pre-commit
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-05-06 17:33:46 +0000
committerFuwn <[email protected]>2021-05-06 17:33:46 +0000
commit3655d61ca201b20fcb5e4fa0192ddcafbf6f7628 (patch)
tree4f62722b72bd4aae74d54945aaac11e6ee448a88 /.husky/pre-commit
parentetc: Remove useless CORS headers (diff)
downloadapi-3655d61ca201b20fcb5e4fa0192ddcafbf6f7628.tar.xz
api-3655d61ca201b20fcb5e4fa0192ddcafbf6f7628.zip
feat(global): :star:
Diffstat (limited to '.husky/pre-commit')
-rw-r--r--.husky/pre-commit4
1 files changed, 4 insertions, 0 deletions
diff --git a/.husky/pre-commit b/.husky/pre-commit
new file mode 100644
index 0000000..58248c1
--- /dev/null
+++ b/.husky/pre-commit
@@ -0,0 +1,4 @@
+#!/bin/sh
+. "$(dirname "$0")/_/husky.sh"
+
+cargo fmt