File tree 1 file changed +3
-4
lines changed
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -184,7 +184,7 @@ function formatExtensionCriticalTag(extension) {
184
184
*/
185
185
function formatHexOntoMultiLine ( hex ) {
186
186
if ( hex . length % 2 !== 0 ) {
187
- hex = "0" + hex
187
+ hex = "0" + hex ;
188
188
}
189
189
190
190
return formatMultiLine ( chop ( hex . replace ( / ( ..) / g, "$&:" ) ) ) ;
@@ -197,9 +197,8 @@ function formatHexOntoMultiLine(hex) {
197
197
*/
198
198
function absBigIntToHex ( int ) {
199
199
int = int < 0n ? - int : int ;
200
- let hInt = int . toString ( 16 ) ;
201
200
202
- return ensureHexIsPositiveInTwosComplement ( hInt ) ;
201
+ return ensureHexIsPositiveInTwosComplement ( int . toString ( 16 ) ) ;
203
202
}
204
203
205
204
/**
@@ -217,7 +216,7 @@ function ensureHexIsPositiveInTwosComplement(hex) {
217
216
hex = "00" + hex ;
218
217
}
219
218
220
- return hex
219
+ return hex ;
221
220
}
222
221
223
222
/**
You can’t perform that action at this time.
0 commit comments