mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Fix length calculation when reading library file
This commit is contained in:
parent
b68835f171
commit
a694b0364d
@ -85,6 +85,7 @@ function getFileBody(root,path) {
|
|||||||
body += remaining;
|
body += remaining;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
read += thisRead;
|
||||||
body += buffer.slice(0,thisRead).toString();
|
body += buffer.slice(0,thisRead).toString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user