Skip to content

Commit c5b88db

Browse files
committed
make indentation and blocking style consistent.
1 parent a3af2a2 commit c5b88db

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

lib/utils.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@ if(typeof events.EventEmitter.prototype.once !== 'function') {
1919
function arrayString(val) {
2020
var result = '{';
2121
for (var i = 0 ; i < val.length; i++) {
22-
if (i > 0)
22+
if (i > 0) {
2323
result = result + ',';
24+
}
2425
if (val[i] instanceof Date) {
2526
result = result + JSON.stringify(val[i]);
2627
}
@@ -31,8 +32,10 @@ function arrayString(val) {
3132
result = result + arrayString(val[i]);
3233
}
3334
else
35+
{
3436
result = result +
35-
(val[i] === null ? 'NULL' : JSON.stringify(val[i]));
37+
(val[i] === null ? 'NULL' : JSON.stringify(val[i]));
38+
}
3639
}
3740
result = result + '}';
3841
return result;

0 commit comments

Comments
 (0)