@514labs/moose-lib 0.6.239-ci-1-g4a0cac87 → 0.6.239-ci-1-ga99426cc
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/browserCompatible.js +1 -1
- package/dist/browserCompatible.js.map +1 -1
- package/dist/browserCompatible.mjs +1 -1
- package/dist/browserCompatible.mjs.map +1 -1
- package/dist/dmv2/index.js +1 -1
- package/dist/dmv2/index.js.map +1 -1
- package/dist/dmv2/index.mjs +1 -1
- package/dist/dmv2/index.mjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2399,7 +2399,7 @@ var SqlResource = class {
|
|
|
2399
2399
|
*/
|
|
2400
2400
|
constructor(name, setup, teardown, options) {
|
|
2401
2401
|
const sqlResources = getMooseInternal().sqlResources;
|
|
2402
|
-
if (sqlResources.has(name)) {
|
|
2402
|
+
if (!isClientOnlyMode && sqlResources.has(name)) {
|
|
2403
2403
|
throw new Error(`SqlResource with name ${name} already exists`);
|
|
2404
2404
|
}
|
|
2405
2405
|
sqlResources.set(name, this);
|