Fix length calculation when reading library file

This commit is contained in:
Nick O'Leary
2019-05-24 11:36:05 +01:00
parent b68835f171
commit a694b0364d

View File

@@ -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();
} }
} }