summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJacob Schatz <jschatz1@gmail.com>2017-12-20 15:19:09 -0500
committerJacob Schatz <jschatz1@gmail.com>2017-12-20 15:19:09 -0500
commit39efc5c80c132657eaf0e1e4704b9e6f76c94d89 (patch)
treedc1e2b7799142336509572a607a22fc0d5fd708c /scripts
parent1d7875386059cb880e8ea8766359e87c42ff8ec6 (diff)
downloadgitlab-ce-39efc5c80c132657eaf0e1e4704b9e6f76c94d89.tar.gz
Remove JSX since we don't use it.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/pre-commit2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/pre-commit b/scripts/pre-commit
index e3ff5927922..210e349fe64 100644
--- a/scripts/pre-commit
+++ b/scripts/pre-commit
@@ -1,5 +1,5 @@
#!/bin/sh
-jsfiles=$(git diff --cached --name-only --diff-filter=ACM "*.js" "*.jsx" | tr '\n' ' ')
+jsfiles=$(git diff --cached --name-only --diff-filter=ACM "*.js" | tr '\n' ' ')
[ -z "$jsfiles" ] && exit 0
# Prettify all staged .js files