Skip to content

Commit 392c666

Browse files
committed
style: apply new prettier rule
1 parent fe7a1cb commit 392c666

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/parsers/MetadataParser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ export default class MetadataParser extends StatefulBufferParser {
279279
if (i % 8 === 0) {
280280
mask = hexRepresentation[i];
281281
} else {
282-
if ((mask & (0x1 << i % 8)) === 0) {
282+
if ((mask & (0x1 << (i % 8))) === 0) {
283283
decoded.writeUInt8(hexRepresentation[i] - 1, dpos++);
284284
} else {
285285
decoded.writeUInt8(hexRepresentation[i], dpos++);

0 commit comments

Comments
 (0)