tar 4.4.12 → 4.4.13
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.
- package/lib/write-entry.js +2 -2
- package/package.json +1 -1
package/lib/write-entry.js
CHANGED
|
@@ -231,7 +231,7 @@ const WriteEntry = warner(class WriteEntry extends MiniPass {
|
|
|
231
231
|
er.path = this.absolute
|
|
232
232
|
er.syscall = 'read'
|
|
233
233
|
er.code = 'EOF'
|
|
234
|
-
this[CLOSE](fd)
|
|
234
|
+
this[CLOSE](fd, _ => _)
|
|
235
235
|
return this.emit('error', er)
|
|
236
236
|
}
|
|
237
237
|
|
|
@@ -240,7 +240,7 @@ const WriteEntry = warner(class WriteEntry extends MiniPass {
|
|
|
240
240
|
er.path = this.absolute
|
|
241
241
|
er.syscall = 'read'
|
|
242
242
|
er.code = 'EOF'
|
|
243
|
-
this[CLOSE](fd)
|
|
243
|
+
this[CLOSE](fd, _ => _)
|
|
244
244
|
return this.emit('error', er)
|
|
245
245
|
}
|
|
246
246
|
|
package/package.json
CHANGED