mirror of
https://github.com/ant-design/ant-design.git
synced 2026-02-09 02:49:18 +08:00
chore: remove broken check-commit script (#56216)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Full skip argms
|
||||
# npm run test-all -- --skip-changelog --skip-commit --skip-lint --skip-build --skip-dekko --skip-dist --skip-es --skip-lib --skip-test --skip-node
|
||||
# npm run test-all -- --skip-changelog --skip-lint --skip-build --skip-dekko --skip-dist --skip-es --skip-lib --skip-test --skip-node
|
||||
|
||||
# Check exist argument
|
||||
has_arg() {
|
||||
@@ -27,14 +27,6 @@ else
|
||||
echo "[TEST ALL] test changelog...skip"
|
||||
fi
|
||||
|
||||
if ! has_arg '--skip-commit' "$@"; then
|
||||
echo "[TEST ALL] check-commit"
|
||||
echo "[TEST ALL] check-commit" > ~test-all.txt
|
||||
npm run check-commit
|
||||
else
|
||||
echo "[TEST ALL] check-commit...skip"
|
||||
fi
|
||||
|
||||
if ! has_arg '--skip-lint' "$@"; then
|
||||
echo "[TEST ALL] lint"
|
||||
echo "[TEST ALL] lint" > ~test-all.txt
|
||||
|
||||
Reference in New Issue
Block a user