We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bd7aac8 + ef9ddfb commit fee60b6Copy full SHA for fee60b6
pre-push.hook
100644
100755
@@ -15,7 +15,8 @@ die 'The `pre-push` hook is not up to date with `pre-push.hook`'
15
git diff --quiet dist/ ||
16
die '`dist/` is dirty'
17
18
-if test 'npm run build && npm run package' != "$(git show -s --format=%s HEAD)"
+base="$(git rev-list HEAD -1 -- dist/)"
19
+if test 0 -lt $(git rev-list --count ${base+$base..}HEAD -- \*.ts)
20
then
21
echo "Verifying that dist/ is up to date" >&2
22
npm run build &&
0 commit comments