Skip to content

Commit 1bdd6ce

Browse files
authored
Use rimraf instead of rm -rf in gh-pages:clean
This module is designed to do things like `rm -rf` for us.
1 parent 03d2a7f commit 1bdd6ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"test": "npm run tests-only",
1717
"storybook": "start-storybook -p 9001 -s ./public",
1818
"tag": "git tag v$npm_package_version",
19-
"gh-pages:clean": "rm -rf _gh-pages",
19+
"gh-pages:clean": "rimraf _gh-pages",
2020
"gh-pages:build": "$(npm bin)/build-storybook -o _gh-pages",
2121
"gh-pages:copy-public": "cp public/* _gh-pages/$1",
2222
"gh-pages:publish": "$(npm bin)/git-directory-deploy --directory _gh-pages",

0 commit comments

Comments
 (0)