mirror of
https://github.com/n8n-io/n8n.git
synced 2024-09-20 01:19:07 +03:00
🐛 Fixed Expression Renaming Bug (#2368)
* N8N-2551 - Fixed Expression Renaming Bug * N8N-2551 - Format prettier
This commit is contained in:
parent
ce066a160f
commit
ba8c922604
@ -416,7 +416,7 @@ export class Workflow {
|
||||
|
||||
parameterValue = parameterValue.replace(
|
||||
// eslint-disable-next-line no-useless-escape
|
||||
new RegExp(`(\\$node(\.|\\["|\\[\'))${currentNameEscaped}((\.|"\\]|\'\\]))`, 'g'),
|
||||
new RegExp(`(\\$node(\.|\\["|\\[\'))${currentNameEscaped}((\s/g|"\\]|\'\\]))`, 'g'),
|
||||
`$1${newName}$3`,
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user