From 1de8192cb6c66047aaed33a525e5e9feae282ab4 Mon Sep 17 00:00:00 2001 From: legobt <6wbvkn0j@anonaddy.me> Date: Fri, 30 Aug 2024 04:14:46 +0000 Subject: [PATCH] chore: fix clean script when run on clean state --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 2ed764b..3327ae0 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "bench:all": "node benchmark/hashes.js; node benchmark/kdf.js", "bench:install": "npm pack && mv *.tgz benchmark/noble-hashes.tgz && cd benchmark && npm install && cd ..", "build": "npm run build:clean; tsc && tsc -p tsconfig.esm.json", - "build:clean": "rm *.{js,d.ts,js.map,d.ts.map} esm/*.{js,js.map,d.ts.map} 2> /dev/null", + "build:clean": "rm -f *.{js,d.ts,js.map,d.ts.map} esm/*.{js,js.map,d.ts.map}", "lint": "prettier --check 'src/**/*.{js,ts}' 'test/**/*.{js,ts}'", "format": "prettier --write 'src/**/*.{js,ts}' 'test/**/*.{js,ts}'", "test": "node test/index.js",