@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
|
-
|
|
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) {
|