Skip to content

Commit f937bec

Browse files
committed
Don't fail clean-dist when dist doesn't exist
1 parent 8a7abd8 commit f937bec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webpack-subresource-integrity/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"webpack": "^5.44.0"
6666
},
6767
"scripts": {
68-
"clean-dist": "test -d dist && find dist ! -name package.json -type f -exec rm -f \\{\\} +",
68+
"clean-dist": "test -d dist && find dist ! -name package.json -type f -exec rm -f \\{\\} + || true",
6969
"prepublish": "yarn clean-dist && tsc -p tsconfig.json && tsc -p tsconfig-mjs.json && api-extractor run --local"
7070
},
7171
"files": [

0 commit comments

Comments
 (0)