@dev-blinq/cucumber_client 1.0.1435-dev → 1.0.1437-dev

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.
@@ -865,10 +865,10 @@ export class BVTRecorder {
865
865
  skipBefore,
866
866
  }
867
867
  );
868
- // await this.revertMode();
868
+ await this.revertMode();
869
869
  return { info };
870
870
  } catch (error) {
871
- // await this.revertMode();
871
+ await this.revertMode();
872
872
  throw error;
873
873
  } finally {
874
874
  for (const key of Object.keys(_env)) {
@@ -265,8 +265,8 @@ export class BVTStepRunner {
265
265
 
266
266
  for (const cmdId of cmdIDs) {
267
267
  this.liveExecutionMap.set(cmdId, {
268
- resolve: () => {},
269
- reject: () => {},
268
+ resolve: () => { },
269
+ reject: () => { },
270
270
  });
271
271
  }
272
272
 
@@ -380,13 +380,18 @@ export class BVTStepRunner {
380
380
  this.#currentStepController = null;
381
381
  global.__BVT_STEP_ABORT_SIGNAL = null;
382
382
 
383
- // Clean up temp folder
384
- const __temp_features_FolderName = process.env.tempFeaturesFolderPath;
385
- if (__temp_features_FolderName) {
386
- const tempFolderPath = path.join(this.projectDir, __temp_features_FolderName);
387
- if (fs.existsSync(tempFolderPath)) {
388
- fs.rmSync(tempFolderPath, { recursive: true });
383
+
384
+ try {
385
+ // Clean up temp folder
386
+ const __temp_features_FolderName = process.env.tempFeaturesFolderPath;
387
+ if (__temp_features_FolderName) {
388
+ const tempFolderPath = path.join(this.projectDir, __temp_features_FolderName);
389
+ if (fs.existsSync(tempFolderPath)) {
390
+ fs.rmSync(tempFolderPath, { recursive: true });
391
+ }
389
392
  }
393
+ } catch (error) {
394
+ console.error("Error cleaning up temp folder", error);
390
395
  }
391
396
  }
392
397
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dev-blinq/cucumber_client",
3
- "version": "1.0.1435-dev",
3
+ "version": "1.0.1437-dev",
4
4
  "description": " ",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",