Skip to content

Commit 0c4638b

Browse files
committed
style: convert tabs to spaces
1 parent 2e9341f commit 0c4638b

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

lib/bytesToUuid.js

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,16 @@ function bytesToUuid(buf, offset) {
1111
var i = offset || 0;
1212
var bth = byteToHex;
1313
// join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4
14-
return ([bth[buf[i++]], bth[buf[i++]],
15-
bth[buf[i++]], bth[buf[i++]], '-',
16-
bth[buf[i++]], bth[buf[i++]], '-',
17-
bth[buf[i++]], bth[buf[i++]], '-',
18-
bth[buf[i++]], bth[buf[i++]], '-',
19-
bth[buf[i++]], bth[buf[i++]],
20-
bth[buf[i++]], bth[buf[i++]],
21-
bth[buf[i++]], bth[buf[i++]]]).join('');
14+
return ([
15+
bth[buf[i++]], bth[buf[i++]],
16+
bth[buf[i++]], bth[buf[i++]], '-',
17+
bth[buf[i++]], bth[buf[i++]], '-',
18+
bth[buf[i++]], bth[buf[i++]], '-',
19+
bth[buf[i++]], bth[buf[i++]], '-',
20+
bth[buf[i++]], bth[buf[i++]],
21+
bth[buf[i++]], bth[buf[i++]],
22+
bth[buf[i++]], bth[buf[i++]]
23+
]).join('');
2224
}
2325

2426
module.exports = bytesToUuid;

0 commit comments

Comments
 (0)