7f236228 by Rajko Stojadinovic Committed by David LaPalomento

Fix automatic linter warning

1 parent fe69162d
...@@ -305,8 +305,9 @@ ...@@ -305,8 +305,9 @@
305 event.attributes = parseAttributes(match[1]); 305 event.attributes = parseAttributes(match[1]);
306 // parse the IV string into a Uint32Array 306 // parse the IV string into a Uint32Array
307 if (event.attributes.IV) { 307 if (event.attributes.IV) {
308 if (event.attributes.IV.substring(0,2) == '0x') 308 if (event.attributes.IV.substring(0,2) === '0x') {
309 event.attributes.IV = event.attributes.IV.substring(2); 309 event.attributes.IV = event.attributes.IV.substring(2);
310 }
310 311
311 event.attributes.IV = event.attributes.IV.match(/.{8}/g); 312 event.attributes.IV = event.attributes.IV.match(/.{8}/g);
312 event.attributes.IV[0] = parseInt(event.attributes.IV[0], 16); 313 event.attributes.IV[0] = parseInt(event.attributes.IV[0], 16);
......