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.mjs CHANGED
@@ -237,12 +237,12 @@ const makePopulateEnumQuery = (item) => {
237
237
  };
238
238
  };
239
239
 
240
- const currentChanges = [];
240
+ let currentChanges = [];
241
241
  const change = (fn) => {
242
242
  currentChanges.push(fn);
243
243
  };
244
244
  const clearChanges = () => {
245
- currentChanges.length = 0;
245
+ currentChanges = [];
246
246
  };
247
247
  const getCurrentChanges = () => currentChanges;
248
248