Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
maraoz committed Mar 7, 2014
1 parent 1d72154 commit 512d9d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Script.js
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ function spec(b) {

if (Buffer.isBuffer(chunk)) {
if (chunk.length === 0) {
s += '\'\'';
s += '0';
} else {
s += '0x' + util.formatBuffer(chunk, truncate ? null : 0);
}
Expand Down

0 comments on commit 512d9d3

Please sign in to comment.