Lutz Roeder 4 nedēļas atpakaļ
vecāks
revīzija
01f6b82e62
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      source/node.js

+ 1 - 1
source/node.js

@@ -43,7 +43,7 @@ node.FileStream = class {
 
     peek(length) {
         length = length === undefined ? this._length - this._position : length;
-        if (length < 0x1000000) {
+        if (length < 0x10000000) {
             const position = this._fill(length);
             this._position -= length;
             return this._buffer.subarray(position, position + length);