Skip to content
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.

Commit

Permalink
fix: ignore response body for some mfs commands (#805)
Browse files Browse the repository at this point in the history
  • Loading branch information
achingbrain authored and alanshaw committed Jul 5, 2018
1 parent 2426072 commit b604a64
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/files/cp.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ module.exports = (send) => {
path: 'files/cp',
args: sources,
qs: opts
}, callback)
}, (error) => callback(error))
})
}
2 changes: 1 addition & 1 deletion src/files/flush.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ module.exports = (send) => {
return send({
path: 'files/flush',
args: args
}, callback)
}, (error) => callback(error))
})
}
2 changes: 1 addition & 1 deletion src/files/mkdir.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ module.exports = (send) => {
path: 'files/mkdir',
args: args,
qs: opts
}, callback)
}, (error) => callback(error))
})
}
2 changes: 1 addition & 1 deletion src/files/mv.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ module.exports = (send) => {
path: 'files/mv',
args: sources,
qs: opts
}, callback)
}, (error) => callback(error))
})
}
2 changes: 1 addition & 1 deletion src/files/rm.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ module.exports = (send) => {
path: 'files/rm',
args: path,
qs: opts
}, callback)
}, (error) => callback(error))
})
}

0 comments on commit b604a64

Please sign in to comment.