Skip to content

Commit fdb5ba9

Browse files
committed
pre-push: do not pretend that we're a Typescript project
It shows that I copy-edited this from the `setup-git-for-windows-sdk` project, which _is_ implemented in Typescript ;-) Signed-off-by: Johannes Schindelin <[email protected]>
1 parent a454f19 commit fdb5ba9

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)