From 5b86cf96babbc9c185088d20e0e24017c534b63b Mon Sep 17 00:00:00 2001 From: adrinr Date: Mon, 17 Apr 2023 19:27:06 +0100 Subject: [PATCH] Change hook --- .husky/post-checkout | 4 ---- package.json | 3 +++ 2 files changed, 3 insertions(+), 4 deletions(-) delete mode 100644 .husky/post-checkout diff --git a/.husky/post-checkout b/.husky/post-checkout deleted file mode 100644 index 42999882d9..0000000000 --- a/.husky/post-checkout +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -# Set the submodule.recurse configuration value to true -git config submodule.recurse true diff --git a/package.json b/package.json index 4d576a2c52..9ae860d3af 100644 --- a/package.json +++ b/package.json @@ -83,6 +83,9 @@ "submodules:load": "git submodule init && git submodule update && yarn && yarn bootstrap", "submodules:unload": "git submodule deinit --all" }, + "hooks": { + "post-checkout": "git config submodule.recurse true" + }, "workspaces": { "packages": [ "packages/backend-core",