Skip to content

Commit d314231

Browse files
authored
Merge pull request #7 from dscho/fix-pre-push-hook
pre-push: do not pretend that we're a Typescript project
2 parents a454f19 + fdb5ba9 commit d314231

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pre-push.hook

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ git diff --quiet dist/ ||
3333
die '`dist/` is dirty'
3434

3535
base="$(git rev-list HEAD -1 -- dist/)"
36-
if test 0 -lt $(git rev-list --count ${base+$base..}HEAD -- \*.ts)
36+
if test 0 -lt $(git rev-list --count ${base+$base..}HEAD -- \*.js)
3737
then
3838
echo "Verifying that dist/ is up to date" >&2
3939
npm run prepare &&

0 commit comments

Comments
 (0)