fix: lint

Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
This commit is contained in:
Andrew Calcutt 2023-10-15 01:19:10 -04:00
parent fd2ffacb7c
commit 4549b27d4e

View file

@ -212,7 +212,7 @@ function start(opts) {
StyleSourceId;
if (isValidHttpUrl(StyleSourceId)) {
id =
fnv1a(StyleSourceId) + '_' + id.replace(/^.*\/(.*)$/, '$1');
fnv1a(StyleSourceId) + '_' + id.replace(/^.*\/(.*)$/, '$1');
}
while (data[id]) id += '_'; //if the data source id already exists, add a "_" untill it doesn't
//Add the new data source to the data array.