Stijnus commited on
Commit
b1a3e39
·
1 Parent(s): b16aab1

debug fixes

Browse files
Files changed (2) hide show
  1. .husky/pre-commit +5 -0
  2. app/commit.json +1 -1
.husky/pre-commit CHANGED
@@ -23,4 +23,9 @@ if ! pnpm lint; then
23
  exit 1
24
  fi
25
 
 
 
 
 
 
26
  echo "👍 All good! Committing changes..."
 
23
  exit 1
24
  fi
25
 
26
+ # Update commit.json with the latest commit hash
27
+ COMMIT_HASH=$(git rev-parse HEAD)
28
+ echo "{ \"commit\": \"$COMMIT_HASH\" }" > app/commit.json
29
+ git add app/commit.json
30
+
31
  echo "👍 All good! Committing changes..."
app/commit.json CHANGED
@@ -1 +1 @@
1
- { "commit": "4b36601061652ec2ec3cb1f1d5c7cc5649690bbb" }
 
1
+ { "commit": "b16aab1f167d91903592e33357ae38e304ca7f65" }