pumpkin-zbh / amqp_comm_example

Found no return statements in callbacks of array methods JS-0042
Anti-pattern
Major
1 occurrence in this check
Array.prototype.map() expects a return value from arrow function
 95    // 按字典序排序
 96    keys = keys.sort();
 97    const list = [];
 98    keys.map((key) => { 99        list.push(`${key}${params[key]}`);
100    });
101    const contentStr = list.join('');