remove console.log
This commit is contained in:
parent
5d6169b270
commit
8ed134105f
1 changed files with 0 additions and 1 deletions
|
|
@ -265,7 +265,6 @@ export async function parseAndFindServiceTemplates(service: any, workdir?: strin
|
|||
name = name.toLowerCase()
|
||||
const regexHashed = new RegExp(`\\$\\$hashed\\$\\$secret_${name}`, 'gi')
|
||||
const regex = new RegExp(`\\$\\$secret_${name}`, 'gi')
|
||||
console.log({value, name, regex, regexHashed})
|
||||
if (value) {
|
||||
strParsedTemplate = strParsedTemplate.replaceAll(regexHashed, bcrypt.hashSync(value.replaceAll("\"", "\\\""), 10))
|
||||
strParsedTemplate = strParsedTemplate.replaceAll(regex, value.replaceAll("\"", "\\\""))
|
||||
|
|
|
|||
Loading…
Reference in a new issue