mirror of https://github.com/node-red/node-red.git
Fix length calculation when reading library file
parent
b68835f171
commit
a694b0364d
|
@ -85,6 +85,7 @@ function getFileBody(root,path) {
|
|||
body += remaining;
|
||||
}
|
||||
} else {
|
||||
read += thisRead;
|
||||
body += buffer.slice(0,thisRead).toString();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue