Skip to content

Commit

Permalink
chore(clean script): make it still work if dist and docs are gone
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertFischer committed Dec 10, 2020
1 parent 3e89bd4 commit ffa816a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script/clean
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set -exu
cd "$(dirname "$0")/.."

rm -rf docs dist
git restore docs
git restore dist
git restore docs || true
git restore dist || true
rm -rf index.js ./index.d.ts ./*.map ./lib/*.js ./lib/*.d.ts ./lib/*.map
git status

0 comments on commit ffa816a

Please sign in to comment.