mirror of
https://github.com/gchq/CyberChef.git
synced 2024-11-16 00:48:31 +01:00
Linting adjustments
This commit is contained in:
parent
e9b7a43b9a
commit
c1878ca28b
1 changed files with 2 additions and 2 deletions
|
@ -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++;
|
||||
|
|
Loading…
Reference in a new issue