Skip to content

Commit b6a3798

Browse files
committed
fix: don't execute linter and format
1 parent 8456d42 commit b6a3798

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/dev_tools_hooks/hooks/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ run_commands() {
257257

258258
cd "$PROJECT_ROOT" || exit 1
259259

260-
if eval "$full_cmd"; then
260+
if eval "$full_cmd" </dev/null; then
261261
echo -e " ${GREEN}✔ Passed${NC}"
262262
else
263263
echo -e " ${RED}✖ Failed${NC}"

src/dev_tools_hooks/hooks/pre-push

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ run_django_smart_tests() {
310310

311311
cd "$PROJECT_ROOT" || exit 1
312312

313-
if eval "$full_cmd"; then
313+
if eval "$full_cmd" </dev/null; then
314314
echo -e " ${GREEN}✔ Passed${NC}"
315315
echo ""
316316
return 0

0 commit comments

Comments
 (0)