@dev-blinq/cucumber_client 1.0.1731-dev → 1.0.1732-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.
@@ -898,7 +898,8 @@ export async function updateStepDefinitions({ scenario, featureName, projectDir,
898
898
 
899
899
  stepsDefinitions.load(false);
900
900
 
901
- steps.forEach(async (step, index) => {
901
+ for (let index = 0; index < steps.length; index++) {
902
+ const step = steps[index];
902
903
  try {
903
904
  if (step.internalImplementedStepId) {
904
905
  const si = steps.findIndex((s) => s.id === step.internalImplementedStepId);
@@ -961,7 +962,7 @@ export async function updateStepDefinitions({ scenario, featureName, projectDir,
961
962
  `Failed to update step definition for step "${step.text}" at index ${index}: ${getErrorMessage(error)}`
962
963
  );
963
964
  }
964
- });
965
+ }
965
966
 
966
967
  writeFileSync(utilsFilePath, utilsContent, "utf8");
967
968
  } catch (error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dev-blinq/cucumber_client",
3
- "version": "1.0.1731-dev",
3
+ "version": "1.0.1732-dev",
4
4
  "description": " ",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",