Skip to content

Commit c700550

Browse files
authored
Remove return {}
1 parent dc56ed7 commit c700550

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/Effect/Console.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,53 +3,45 @@
33
exports.log = function (s) {
44
return function () {
55
console.log(s);
6-
return {};
76
};
87
};
98

109
exports.warn = function (s) {
1110
return function () {
1211
console.warn(s);
13-
return {};
1412
};
1513
};
1614

1715
exports.error = function (s) {
1816
return function () {
1917
console.error(s);
20-
return {};
2118
};
2219
};
2320

2421
exports.info = function (s) {
2522
return function () {
2623
console.info(s);
27-
return {};
2824
};
2925
};
3026

3127
exports.time = function (s) {
3228
return function () {
3329
console.time(s);
34-
return {};
3530
};
3631
};
3732

3833
exports.timeLog = function (s) {
3934
return function () {
4035
console.timeLog(s);
41-
return {};
4236
};
4337
};
4438

4539
exports.timeEnd = function (s) {
4640
return function () {
4741
console.timeEnd(s);
48-
return {};
4942
};
5043
};
5144

5245
exports.clear = function () {
5346
console.clear();
54-
return {};
5547
};

0 commit comments

Comments
 (0)