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