From d0fc18351ab9ecc1ba801bbcc6a3ece5ad41d802 Mon Sep 17 00:00:00 2001 From: Justin Greenberg Date: Mon, 20 Nov 2023 20:30:38 -0500 Subject: [PATCH] chore: update scripts to ignore fuzz --- .husky/pre-commit | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index d420e76..6b55f12 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -2,6 +2,6 @@ . "$(dirname -- "$0")/_/husky.sh" forge fmt --check -forge snapshot --diff --no-match-test /^testFuzz/g +forge snapshot --diff --no-match-path "*fuzz*" git add .gas-snapshot diff --git a/package.json b/package.json index 46ccf4a..72f2118 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,6 @@ }, "scripts": { "prepare": "husky install", - "snapshot": "forge snapshot --diff --no-match-test /^testFuzz/g" + "snapshot": "forge snapshot --diff --no-match-path *fuzz*" } }