From f211cd88dd833b29e1aacf787fe23f4531b66ba5 Mon Sep 17 00:00:00 2001 From: Chris Berns Date: Thu, 1 Jul 2021 17:11:33 -0700 Subject: [PATCH] remove the source dependency from the revertChange function --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 8f8578e..9ff98a7 100644 --- a/index.js +++ b/index.js @@ -425,7 +425,7 @@ } function revertChange(target, source, change) { - if (target && source && change && change.kind) { + if (target && change && change.kind) { var it = target, i, u; u = change.path.length - 1;