Browse Source

Linting adjustments

n1073645 5 năm trước cách đây
mục cha
commit
c1878ca28b
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/core/lib/Stream.mjs

+ 2 - 2
src/core/lib/Stream.mjs

@@ -213,8 +213,8 @@ export default class Stream {
      * @param {Number} val
      */
     consumeWhile(val) {
-        while (this.position < this.length){
-            if (this.bytes[this.position] !== val){
+        while (this.position < this.length) {
+            if (this.bytes[this.position] !== val) {
                 break;
             }
             this.position++;