mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Property expressions must not be blank
This commit is contained in:
@@ -133,6 +133,9 @@ function normalisePropertyExpression(str) {
|
||||
// in editor/js/ui/utils.js
|
||||
|
||||
var length = str.length;
|
||||
if (length === 0) {
|
||||
throw new Error("Invalid property expression: zero-length");
|
||||
}
|
||||
var parts = [];
|
||||
var start = 0;
|
||||
var inString = false;
|
||||
|
Reference in New Issue
Block a user