mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-07-19 13:38:50 -04:00
remove console.log doh! #6634
Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
parent
89238303cb
commit
3b2aaccf1b
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user