Skip to content

Commit fe9f4fa

Browse files
committed
Fix linting errors
1 parent a8b1050 commit fe9f4fa

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/core/operations/ParseCSR.mjs

+3-4
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ function formatExtensionCriticalTag(extension) {
184184
*/
185185
function formatHexOntoMultiLine(hex) {
186186
if (hex.length % 2 !== 0) {
187-
hex = "0" + hex
187+
hex = "0" + hex;
188188
}
189189

190190
return formatMultiLine(chop(hex.replace(/(..)/g, "$&:")));
@@ -197,9 +197,8 @@ function formatHexOntoMultiLine(hex) {
197197
*/
198198
function absBigIntToHex(int) {
199199
int = int < 0n ? -int : int;
200-
let hInt = int.toString(16);
201200

202-
return ensureHexIsPositiveInTwosComplement(hInt);
201+
return ensureHexIsPositiveInTwosComplement(int.toString(16));
203202
}
204203

205204
/**
@@ -217,7 +216,7 @@ function ensureHexIsPositiveInTwosComplement(hex) {
217216
hex = "00" + hex;
218217
}
219218

220-
return hex
219+
return hex;
221220
}
222221

223222
/**

0 commit comments

Comments
 (0)