1
0
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:
Mathias Buus 2020-06-02 16:14:59 +02:00
parent fc92548561
commit 3d8ddd21b5

View File

@ -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])