@storm-software/git-tools 2.131.34 → 2.131.35

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.
package/bin/git.js CHANGED
@@ -303,7 +303,7 @@ var commitlint = {
303
303
  enableMultipleScopes: false,
304
304
  disableEmoji: true,
305
305
  breakingChangePrefix: "\u{1F4A3} ",
306
- closedIssuePrefix: "\u2705 ",
306
+ closedIssuePrefix: "\u2714 ",
307
307
  format: "{type}: {emoji}{subject}"
308
308
  }
309
309
  };
@@ -354,7 +354,7 @@ var commitlint2 = {
354
354
  enableMultipleScopes: false,
355
355
  disableEmoji: true,
356
356
  breakingChangePrefix: "\u{1F4A3} ",
357
- closedIssuePrefix: "\u2705 ",
357
+ closedIssuePrefix: "\u2714 ",
358
358
  format: "{type}({scope}): {emoji}{subject}"
359
359
  }
360
360
  };
@@ -1331,7 +1331,7 @@ async function runCommit(commitizenFile, dryRun = false) {
1331
1331
  writeInfo("Running in dry mode.", workspaceConfig);
1332
1332
  }
1333
1333
  console.log(
1334
- chalk2.bold.hex("#999999")("----------------------------------------") + "\n\n" + chalk2.bold.hex("#FFFFFF")(
1334
+ chalk2.bold.hex("#999999")("----------------------------------------") + "\n" + chalk2.bold.hex("#FFFFFF")(
1335
1335
  ` ${brandIcon(workspaceConfig)} Storm Software Git-Tools - Commit`
1336
1336
  ) + "\n" + chalk2.hex("#CCCCCC")("Please provide the requested details below...")
1337
1337
  );
@@ -1340,13 +1340,11 @@ async function runCommit(commitizenFile, dryRun = false) {
1340
1340
  const commitMsgFile = joinPaths(getGitDir(), "COMMIT_EDITMSG");
1341
1341
  console.log(
1342
1342
  chalk2.bold.hex("#999999")("----------------------------------------") + `
1343
-
1344
1343
  ${chalk2.bold.hex("#FFFFFF")("Commit message")} - ${chalk2.hex("#DDDDDD")(message)}
1345
1344
  ${chalk2.bold.hex("#FFFFFF")("Git-Commit File")} - ${chalk2.hex("#DDDDDD")(
1346
1345
  commitMsgFile
1347
1346
  )}
1348
-
1349
- `
1347
+ `
1350
1348
  );
1351
1349
  await runCommitLint(workspaceConfig, { message });
1352
1350
  const commandItems = ["git", "commit", "-S"];
@@ -1377,7 +1375,10 @@ async function askQuestions(state) {
1377
1375
  return state.answers;
1378
1376
  }
1379
1377
  async function askQuestion(index, question) {
1380
- const message = `${chalk2.bold(`${index + 1}. ${question.title}`)} - ${question.description}`;
1378
+ const message = `${chalk2.bold(
1379
+ `${index + 1}. ${question.title}`
1380
+ )} - ${question.description}
1381
+ `;
1381
1382
  if (question.type === "select" && question.enum && Object.keys(question.enum).length > 1) {
1382
1383
  return default11({
1383
1384
  message,