mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Merge pull request #4097 from node-red/fix-json-expr-test
Fix jsonata expression test ui
This commit is contained in:
commit
586006de4d
@ -294,7 +294,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
expr.evaluate(legacyMode?{msg:parsedData}:parsedData, (err, result) => {
|
expr.evaluate(legacyMode?{msg:parsedData}:parsedData, null, (err, result) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
testResultEditor.setValue(RED._("expressionEditor.errors.eval",{message:err.message}),-1);
|
testResultEditor.setValue(RED._("expressionEditor.errors.eval",{message:err.message}),-1);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user