Parcourir la source

Linting adjustments

n1073645 il y a 5 ans
Parent
commit
c1878ca28b
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  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++;