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