mirror of
https://github.com/fuse-friends/fuse-native
synced 2024-10-27 18:34:01 +00:00
wrong argument in timeout switch
This commit is contained in:
parent
fc92548561
commit
3d8ddd21b5
2
index.js
2
index.js
@ -260,7 +260,7 @@ class Fuse extends Nanoresource {
|
|||||||
clearTimeout(timeout)
|
clearTimeout(timeout)
|
||||||
|
|
||||||
if (err === TIMEOUT_ERRNO) {
|
if (err === TIMEOUT_ERRNO) {
|
||||||
switch (op) {
|
switch (name) {
|
||||||
case 'write':
|
case 'write':
|
||||||
case 'read':
|
case 'read':
|
||||||
return cb(TIMEOUT_ERRNO, 0, input[2])
|
return cb(TIMEOUT_ERRNO, 0, input[2])
|
||||||
|
Loading…
Reference in New Issue
Block a user