mirror of
https://github.com/gchq/CyberChef
synced 2025-12-10 13:23:25 +00:00
Linting adjustments
This commit is contained in:
@@ -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++;
|
||||
|
||||
Reference in New Issue
Block a user