script formatting
This commit is contained in:
parent
3e747f0df4
commit
f89908bb65
@ -1150,7 +1150,7 @@ script.format = function(input, output) {
|
|||||||
if (Array.isArray(chunk)) {
|
if (Array.isArray(chunk)) {
|
||||||
if (chunk.length === 0)
|
if (chunk.length === 0)
|
||||||
return 0 + '';
|
return 0 + '';
|
||||||
return utils.toHex(chunk);
|
return '[' + utils.toHex(chunk) + ']';
|
||||||
}
|
}
|
||||||
if (typeof chunk === 'number')
|
if (typeof chunk === 'number')
|
||||||
return chunk + '';
|
return chunk + '';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user