rake-db 2.3.36 → 2.3.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -264,12 +264,12 @@ const makePopulateEnumQuery = (item) => {
264
264
  };
265
265
  };
266
266
 
267
- const currentChanges = [];
267
+ let currentChanges = [];
268
268
  const change = (fn) => {
269
269
  currentChanges.push(fn);
270
270
  };
271
271
  const clearChanges = () => {
272
- currentChanges.length = 0;
272
+ currentChanges = [];
273
273
  };
274
274
  const getCurrentChanges = () => currentChanges;
275
275