chore: eslint prefer-template

This commit is contained in:
Peter Jaszkowiak
2021-02-03 23:59:08 -07:00
committed by Julian Lam
parent 4ee0f1459d
commit 707b55b6a5
357 changed files with 2425 additions and 2427 deletions

View File

@@ -7,7 +7,7 @@ module.exports = function (module) {
if (!Array.isArray(keys) || !keys.length) {
return 0;
}
var tempSetName = 'temp_' + Date.now();
var tempSetName = `temp_${Date.now()}`;
var interParams = [tempSetName, keys.length].concat(keys);
@@ -35,7 +35,7 @@ module.exports = function (module) {
var stop = params.hasOwnProperty('stop') ? params.stop : -1;
var weights = params.weights || [];
var tempSetName = 'temp_' + Date.now();
var tempSetName = `temp_${Date.now()}`;
var interParams = [tempSetName, sets.length].concat(sets);
if (weights.length) {