Explorar o código

Linting adjustments

n1073645 %!s(int64=5) %!d(string=hai) anos
pai
achega
c1878ca28b
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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++;