Skip to content

Commit

Permalink
fix: pass correct path to unstaged patch during cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
iiroj authored Apr 18, 2020
1 parent 0bf1fb0 commit 6066b07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/gitWorkflow.js
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ class GitWorkflow {
await Promise.all(this.deletedFiles.map(file => unlink(file)))

// Clean out patch
if (this.partiallyStagedFiles) await unlink(PATCH_UNSTAGED)
await unlink(this.getHiddenFilepath(PATCH_UNSTAGED))

debug('Done restoring original state!')
} catch (error) {
Expand Down

0 comments on commit 6066b07

Please sign in to comment.