mirror of
https://github.com/gchq/CyberChef.git
synced 2024-11-02 14:11:02 +01:00
Linting adjustments
This commit is contained in:
parent
e9b7a43b9a
commit
c1878ca28b
@ -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 New Issue
Block a user