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
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9
1 changed files with 1 additions and 0 deletions

View File

@ -85,6 +85,7 @@ function getFileBody(root,path) {
body += remaining;
}
} else {
read += thisRead;
body += buffer.slice(0,thisRead).toString();
}
}