@514labs/moose-lib 0.6.239-ci-1-g4a0cac87 → 0.6.239-ci-1-g1d19a0e4

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
@@ -2296,7 +2296,7 @@ var SqlResource = class {
2296
2296
  */
2297
2297
  constructor(name, setup, teardown, options) {
2298
2298
  const sqlResources = getMooseInternal().sqlResources;
2299
- if (sqlResources.has(name)) {
2299
+ if (!isClientOnlyMode && sqlResources.has(name)) {
2300
2300
  throw new Error(`SqlResource with name ${name} already exists`);
2301
2301
  }
2302
2302
  sqlResources.set(name, this);