@dev-blinq/cucumber_client 1.0.1736-dev → 1.0.1738-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.
@@ -1065,7 +1065,20 @@ export async function updateStepDefinitions({ scenario, featureName, projectDir,
1065
1065
 
1066
1066
  writeFileSync(utilsFilePath, utilsContent, UTF8_ENCODING);
1067
1067
  } catch (error) {
1068
- logger.error(`❌ updateStepDefinitions() failed: ${error?.message ?? String(error)}`);
1068
+ logger.error(
1069
+ "❌ updateStepDefinitions() failed",
1070
+ JSON.stringify(
1071
+ {
1072
+ message: error?.message,
1073
+ meta: error?.meta,
1074
+ stack: error?.stack,
1075
+ },
1076
+ null,
1077
+ 2
1078
+ ),
1079
+ "\nStringified error: ❌",
1080
+ getErrorMessage(error)
1081
+ );
1069
1082
  throw error instanceof UpdateStepDefinitionsError
1070
1083
  ? error
1071
1084
  : new UpdateStepDefinitionsError({
@@ -35,7 +35,8 @@ export function handleFileInitOps(projectDir) {
35
35
  );
36
36
  const utilsContent = readFileSync(utilsTemplateFilePath, UTF8_ENCODING);
37
37
  writeFileSync(utilsFilePath, utilsContent, UTF8_ENCODING);
38
-
38
+ console.log("🔆 utilsTemplateFilePath:", utilsTemplateFilePath);
39
+ console.log("☀️ exists:", existsSync(utilsTemplateFilePath));
39
40
  const hooksTemplateFilePath = path.join(
40
41
  __dirname,
41
42
  `../../${FIXED_FOLDER_NAMES.ASSETS}`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dev-blinq/cucumber_client",
3
- "version": "1.0.1736-dev",
3
+ "version": "1.0.1738-dev",
4
4
  "description": " ",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",