mirror of
https://github.com/ilyakooo0/Idris-dev.git
synced 2024-09-17 11:47:20 +03:00
Fix undeclared variable in node runtime
This commit is contained in:
parent
70f172c92a
commit
00efb338ff
@ -22,7 +22,7 @@ $JSRTS.prim_readStr = function () {
|
||||
}
|
||||
i++;
|
||||
if (i == b.length) {
|
||||
nb = new Buffer(b.length * 2);
|
||||
var nb = new Buffer(b.length * 2);
|
||||
b.copy(nb)
|
||||
b = nb;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user