[skip ci] validation rule
This commit is contained in:
1 parent
2c1306c563
commit
82e55d7030
2 files changed
+7
No files matched your search
@@ -3,6 +3,7 @@ namespace MessagePortUtils
|
||||
function ObserveFieldScopedExSafe(node as dynamic, field as string, port as dynamic)
|
||||
' ObserveFieldScopedEx was added in 12.0
|
||||
if FindMemberFunction(node, "ObserveFieldScopedEx") <> invalid
|
||||
' bs:disable-next-line NO_OBSERVE_FIELD_SCOPED_EX
|
||||
node.ObserveFieldScopedEx(field, port)
|
||||
else
|
||||
node.ObserveFieldScoped(field, port)
|
||||
|
||||
Reference in new issue
Block a user