瀏覽代碼

Linting adjustments

n1073645 5 年之前
父節點
當前提交
c1878ca28b
共有 1 個文件被更改,包括 2 次插入2 次删除
  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
      * @param {Number} val
      */
      */
     consumeWhile(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;
                 break;
             }
             }
             this.position++;
             this.position++;