Merge pull request #56 from fireeye/ana-fix-post-commit

Fix unrestored stashed changes in post-commit hook
This commit is contained in:
Willi Ballenthin
2020-07-01 09:51:26 -06:00
committed by GitHub

View File

@@ -18,7 +18,6 @@ if [ $? == 0 ]; then
else
echo 'Style checker failed 😭';
echo 'Check style-checker-output.log for details';
exit 1;
fi
# Run rule linter and print state (it doesn't block the commit)
@@ -28,7 +27,6 @@ if [ $? == 0 ]; then
else
echo 'Rule linter failed 😭';
echo 'Check rule-linter-output.log for details';
exit 2;
fi
# Restore stashed changes