Skip to content

Commit beb7e3a

Browse files
authored
skip npx lint-staged on the hook (#6898)
1 parent 5f410a6 commit beb7e3a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

source/nodejs/.husky/pre-commit

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ if [ -f $HUSKY_SH ]; then
44
. $HUSKY_SH
55
cd source/nodejs
66
NODEJS_FILES_CHANGED=`git status . --short | wc -l`
7-
if [ $NODEJS_FILES_CHANGED != "0" ]; then
8-
npx lint-staged
9-
fi
7+
# npx lint-staged is disabled because of https://github.com/microsoft/AdaptiveCards/issues/6895
8+
#if [ $NODEJS_FILES_CHANGED != "0" ]; then
9+
# npx lint-staged
10+
#fi
1011
fi
1112

0 commit comments

Comments
 (0)