remove console.log doh! #6634

Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
si458 2025-05-26 14:15:48 +01:00
parent 89238303cb
commit 3b2aaccf1b

View File

@ -424,7 +424,6 @@ module.exports.uniqueArray = function (a) {
// Replace placeholders in a string with values from an object or a function
module.exports.replacePlaceholders = function (template, values) {
return template.replace(/\{(\w+)\}/g, (match, key) => {
console.log('match', match, 'key', key, 'values', values);
if (typeof values === 'function') {
return values(key);
}