diff --git a/package.json b/package.json index e6d695d..1ec4894 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ ], "private": true, "scripts": { - "gas-report": "forge test --gas-report | awk '/Test result:/ {found=1; buffer=\"\"; next} found && !/Ran/ {buffer=buffer $0 ORS} /Ran/ {found=0} END {printf \"%s\", buffer}' > .gas-report", + "gas-report": "forge test --gas-report 2>&1 | (tee /dev/tty | awk '/Test result:/ {found=1; buffer=\"\"; next} found && !/Ran/ {buffer=buffer $0 ORS} /Ran/ {found=0} END {printf \"%s\", buffer}' > .gas-report)", "clean": "rm -rf cache out", "lint": "pnpm lint:sol && pnpm prettier:check", "lint:sol": "forge fmt --check && pnpm solhint {script,src,test}/**/*.sol",