From a7a93607c6d30e5781d627f8e55d265e17085010 Mon Sep 17 00:00:00 2001 From: Timothy Clem Date: Mon, 30 Sep 2019 10:02:27 -0700 Subject: [PATCH] Handled deleted node_modules in husky commit --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index daea256..65c80c4 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "skipCI": true, "hooks": { "pre-commit": "npm run build && npm run format", - "post-commit": "npm prune --production && git add node_modules/* && git commit -m \"Husky commit correct node modules\"" + "post-commit": "npm prune --production && git add -u node_modules/* && git commit -m \"Husky commit correct node modules\"" } } }