From 8e287d8b99e1093d4970953766d40a2adb8a89ce Mon Sep 17 00:00:00 2001 From: Benjamin Bennett Date: Tue, 30 Jan 2024 06:38:32 +0000 Subject: [PATCH] Following migration guide for v8 => v9 * Reference: https://github.com/typicode/husky/releases/tag/v9.0.1 --- .husky/pre-commit | 3 --- package.json | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index b8d755f..7352343 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - npm run build && git add dist/ diff --git a/package.json b/package.json index 1777403..cef6c53 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "test": "semistandard --env jest && jest --coverage", "lint": "semistandard --env jest --fix", "build": "ncc build wrapper/terraform.js --out wrapper/dist && ncc build index.js --out dist", - "prepare": "husky install", + "prepare": "husky", "format-check": "echo \"unimplemented for actions/reusable-workflows basic-validation\"" }, "keywords": [],