Skip to content

Commit

Permalink
fix(stash): don't show deleted
Browse files Browse the repository at this point in the history
  • Loading branch information
moshfeu committed Sep 22, 2020
1 parent ecefbe1 commit f203849
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "git-wiz",
"version": "1.2.2",
"version": "1.3.0",
"author": {
"email": "[email protected]",
"name": "Mosh Feu",
Expand Down
2 changes: 1 addition & 1 deletion src/utils/wiz.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const reset = withErrorHandler(async () => {
});

export const stash = withErrorHandler(async () => {
const status = await gitStatus();
const status = (await gitStatus()).filter(file => !file.deleted);
if (!status.length) {
console.log('\x1b[33m', 'Stash what exactly 🤥?');
return;
Expand Down

0 comments on commit f203849

Please sign in to comment.