Skip to content

Commit

Permalink
fix: #570
Browse files Browse the repository at this point in the history
  • Loading branch information
hknokh2 committed Mar 20, 2023
1 parent 5e950a6 commit 70ec4b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/models/job_models/migrationJobTask.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1897,9 +1897,9 @@ export default class MigrationJobTask {
try {
if (regexp.test(rawValue)) {
// Eval (& Regex)
regexpReplaceValue = __eval(rawValue, regexpReplaceValue);
const replaceValue = __eval(rawValue, regexpReplaceValue);
// Regex
newValue = rawValue.replace(regexp, regexpReplaceValue);
newValue = rawValue.replace(regexp, replaceValue);
}
} catch (ex) { }
}
Expand Down

0 comments on commit 70ec4b1

Please sign in to comment.