@centreon/js-config 26.7.4 → 26.7.5

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.
@@ -240,6 +240,15 @@ export default (on: Cypress.PluginEvents): void => {
240
240
  } catch (error) {
241
241
  console.error(error);
242
242
 
243
+ // Best-effort teardown: keep the original startup error if cleanup fails.
244
+ try {
245
+ await dockerEnvironment?.down();
246
+ } catch (teardownError) {
247
+ console.error(teardownError);
248
+ } finally {
249
+ dockerEnvironment = null;
250
+ }
251
+
243
252
  throw error;
244
253
  }
245
254
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@centreon/js-config",
3
3
  "description": "Centreon Frontend shared build configuration",
4
- "version": "26.7.4",
4
+ "version": "26.7.5",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/centreon/centreon.git"