Skip to content

Commit a451667

Browse files
Update tasks/util/sort_object.js
Co-authored-by: Alex Johnson <johnson.alex.c@gmail.com>
1 parent 74cbded commit a451667

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/util/sort_object.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function sortObject(obj) {
1212
var v = obj[key];
1313
newObj[key] = (typeof v === 'object' && v !== null && !(v instanceof Array)) ?
1414
sortObject(v) :
15-
newObj[key] = v;
15+
v;
1616
}
1717

1818
return newObj;

0 commit comments

Comments
 (0)