pumpkin-zbh / amqp_comm_example

Unused return value from Array/Object prototype method JS-D008
Bug risk
Major
1 occurrence in this check
Return value from 'map' method is unused
 95    // 按字典序排序
 96    keys = keys.sort();
 97    const list = [];
 98    keys.map((key) => { 99        list.push(`${key}${params[key]}`);100    });101    const contentStr = list.join('');
102    return crypto.createHmac('sha1', deviceSecret).update(contentStr).digest('hex');
103}