2
0
mirror of https://github.com/gchq/CyberChef synced 2025-12-10 13:23:25 +00:00

Linting adjustments

This commit is contained in:
n1073645
2019-11-13 17:15:54 +00:00
parent e9b7a43b9a
commit c1878ca28b

View File

@@ -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++;