@dev-blinq/cucumber_client 1.0.1734-dev → 1.0.1735-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.
|
@@ -1055,15 +1055,17 @@ export async function updateStepDefinitions({ scenario, featureName, projectDir,
|
|
|
1055
1055
|
});
|
|
1056
1056
|
}
|
|
1057
1057
|
} catch (error) {
|
|
1058
|
-
throw
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1058
|
+
throw error instanceof UpdateStepDefinitionsError
|
|
1059
|
+
? error
|
|
1060
|
+
: new UpdateStepDefinitionsError({
|
|
1061
|
+
type: SaveJobErrorType.STEP_DEFINITION_UPDATE_FAILED,
|
|
1062
|
+
message: "Failed to update step definition",
|
|
1063
|
+
meta: {
|
|
1064
|
+
stepIndex: index,
|
|
1065
|
+
stepText: step.text,
|
|
1066
|
+
reason: getErrorMessage(error),
|
|
1067
|
+
},
|
|
1068
|
+
});
|
|
1067
1069
|
}
|
|
1068
1070
|
}
|
|
1069
1071
|
|