Skip to content

Commit 436715a

Browse files
committed
fix: clean shouldn't error if a .tgz doesn't exist
- `rm *.tgz` when it doesn't exist errors, so add a `-f` to fix that - also this is just deleting the results of `npm pack` for anyone not sure what `*.tgz` is referencing
1 parent 7268b3c commit 436715a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"template"
3939
],
4040
"scripts": {
41-
"clean": "rm -rf dist/ && rm *.tgz",
41+
"clean": "rm -rf dist/ && rm -f *.tgz",
4242
"clean:build": "npm run clean && npm run build",
4343
"build": "concurrently -n rollup,tsc \"npm run build:rollup\" \"npm run build:types\"",
4444
"build:rollup": "rollup -c rollup.config.ts --configPlugin rollup-plugin-typescript2",

0 commit comments

Comments
 (0)