From 0dc2785eee9831b7aff177b57c8ad842ea8ad207 Mon Sep 17 00:00:00 2001 From: Caleb Cox Date: Thu, 25 Apr 2024 14:18:55 -0500 Subject: [PATCH] Remove post-checkout git hook --- .gitignore | 3 --- .husky/post-checkout | 8 -------- 2 files changed, 11 deletions(-) delete mode 100755 .husky/post-checkout diff --git a/.gitignore b/.gitignore index c87688245c..9c88dce39b 100644 --- a/.gitignore +++ b/.gitignore @@ -56,6 +56,3 @@ node_modules # Storybook build-storybook.log - -# GraphQL -graphql-digest.txt diff --git a/.husky/post-checkout b/.husky/post-checkout deleted file mode 100755 index b3574d90d0..0000000000 --- a/.husky/post-checkout +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" -digest_file='src/graphql/graphql-digest.txt' -current_hash=`cat $(find . -type f -name "*.graphql") | openssl dgst -sha256` -if [ ! -e $digest_file ] || [ `cat $digest_file` != "$current_hash" ]; then - # Only update the hash if the gql codegen succeeded - yarn gql && echo $current_hash > $digest_file -fi