From f28bc1bff7a269533fb9228a883b2944eb24f09c Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Mon, 7 Nov 2022 21:11:58 +0000 Subject: [PATCH] Remove jshint warning --- packages/node_modules/@node-red/editor-client/src/js/nodes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/node_modules/@node-red/editor-client/src/js/nodes.js b/packages/node_modules/@node-red/editor-client/src/js/nodes.js index bbb6eb82f..cdaf0e00a 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/nodes.js +++ b/packages/node_modules/@node-red/editor-client/src/js/nodes.js @@ -591,7 +591,7 @@ RED.nodes = (function() { prop === 'z' || prop === 'l' || prop === 'd' || - (prop === 'changed' && !!node.changed !== !!value) || + (prop === 'changed' && (!!node.changed) !== (!!value)) || // jshint ignore:line ((prop === 'x' || prop === 'y') && !node.resize && node.type !== 'group') ) { throw new Error(`Cannot modified property '${prop}' of locked object '${node.type}:${node.id}'`)