Make yarn stash not exit with code 1

when there were no stashes
This commit is contained in:
Bobby Wibowo 2020-05-17 00:53:35 +07:00
parent 83a7459a01
commit 23843aa826
No known key found for this signature in database
GPG Key ID: 51C3A1E1E22D26CF

View File

@ -27,7 +27,7 @@
"delete-expired": "node ./scripts/delete-expired.js",
"thumbs": "node ./scripts/thumbs.js",
"pull": "git pull && yarn --production",
"stash": "git stash && git stash drop",
"stash": "(git stash && git stash drop) || true",
"full-upgrade": "rm -f ./yarn.lock && yarn"
},
"dependencies": {