@labdigital/commercetools-mock 2.43.0 → 2.43.1
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.cjs +0 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +0 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/repositories/errors.ts +0 -4
package/dist/index.js
CHANGED
|
@@ -553,9 +553,6 @@ import deepEqual from "deep-equal";
|
|
|
553
553
|
// src/repositories/errors.ts
|
|
554
554
|
var checkConcurrentModification = (currentVersion, expectedVersion, identifier) => {
|
|
555
555
|
if (currentVersion === expectedVersion) return;
|
|
556
|
-
console.error(
|
|
557
|
-
`Object ${identifier} has a different version than expected. Expected: ${expectedVersion} - Actual: ${currentVersion}.`
|
|
558
|
-
);
|
|
559
556
|
throw new CommercetoolsError(
|
|
560
557
|
{
|
|
561
558
|
message: `Object ${identifier} has a different version than expected. Expected: ${expectedVersion} - Actual: ${currentVersion}.`,
|