fix: createReadStream off by 1 error

This commit is contained in:
calebboyd
2018-07-31 14:07:21 -05:00
parent db7cdf0200
commit bf65477ca3
3 changed files with 2 additions and 5 deletions
+1 -1
View File
@@ -214,7 +214,7 @@ const nfs: any = {
process.execPath,
Object.assign({}, opts, {
start: resourceOffset,
end: resourceOffset + length
end: resourceOffset + length - 1
})
)
},