From 0f72a92f90a4886667963ed23098b5e8f8f93383 Mon Sep 17 00:00:00 2001 From: Masafumi Koba <473530+ybiquitous@users.noreply.github.com> Date: Wed, 1 Nov 2023 08:48:10 +0900 Subject: [PATCH] Use `git diff --quiet` option --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a130b7e..29a609c 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "scripts": { "prepare": "husky install", "build": "ncc build src/main.ts", - "build-check": "git diff --exit-code -- dist/", + "build-check": "git diff --exit-code --quiet -- dist/", "format": "prettier --write --cache .", "lint": "npm-run-all --parallel --continue-on-error lint:*", "lint:formatting": "prettier . --check --cache",