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.
1 parent 7f468a7 commit 07a4bb2Copy full SHA for 07a4bb2
scripts/preCommitHook.sh
@@ -32,7 +32,7 @@ fi
32
33
echo "Running generate-constants-json on staged files ..."
34
35
-yarn generate-constants-json
+yarn generate-constants-json && yarn prettier --write script/utils/constants.json
36
GENERATE_CONSTANTS_JSON_EXIT=$?
37
if [ $GENERATE_CONSTANTS_JSON_EXIT -ne 0 ]; then
38
echo "generate-constants-json encountered an error. Aborting the hook."
0 commit comments