Skip to content

Commit 6066b07

Browse files
authoredApr 18, 2020
fix: pass correct path to unstaged patch during cleanup
1 parent 0bf1fb0 commit 6066b07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎lib/gitWorkflow.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ class GitWorkflow {
306306
await Promise.all(this.deletedFiles.map(file => unlink(file)))
307307

308308
// Clean out patch
309-
if (this.partiallyStagedFiles) await unlink(PATCH_UNSTAGED)
309+
await unlink(this.getHiddenFilepath(PATCH_UNSTAGED))
310310

311311
debug('Done restoring original state!')
312312
} catch (error) {

0 commit comments

Comments
 (0)
Please sign in to comment.