Skip to content

Commit 07a4bb2

Browse files
committed
format constants
Signed-off-by: Faisal Usmani <[email protected]>
1 parent 7f468a7 commit 07a4bb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/preCommitHook.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ fi
3232

3333
echo "Running generate-constants-json on staged files ..."
3434

35-
yarn generate-constants-json
35+
yarn generate-constants-json && yarn prettier --write script/utils/constants.json
3636
GENERATE_CONSTANTS_JSON_EXIT=$?
3737
if [ $GENERATE_CONSTANTS_JSON_EXIT -ne 0 ]; then
3838
echo "generate-constants-json encountered an error. Aborting the hook."

0 commit comments

Comments
 (0)