lint-staged 10.1.4 → 10.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -306,7 +306,7 @@ class GitWorkflow {
306
306
  await Promise.all(this.deletedFiles.map(file => unlink(file)))
307
307
 
308
308
  // Clean out patch
309
- if (this.partiallyStagedFiles) await unlink(PATCH_UNSTAGED)
309
+ await unlink(this.getHiddenFilepath(PATCH_UNSTAGED))
310
310
 
311
311
  debug('Done restoring original state!')
312
312
  } catch (error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lint-staged",
3
- "version": "10.1.4",
3
+ "version": "10.1.5",
4
4
  "description": "Lint files staged by git",
5
5
  "license": "MIT",
6
6
  "repository": "https://github.com/okonet/lint-staged",