@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 new UpdateStepDefinitionsError({
1058
- type: SaveJobErrorType.STEP_DEFINITION_UPDATE_FAILED,
1059
- message: "Failed to update step definition",
1060
- meta: {
1061
- stepIndex: index,
1062
- stepText: step.text,
1063
- reason: getErrorMessage(error),
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dev-blinq/cucumber_client",
3
- "version": "1.0.1470-stage",
3
+ "version": "1.0.1471-stage",
4
4
  "description": " ",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",