@rajinthan17/dot-cli
Advanced tools
+2
-23
@@ -225,28 +225,7 @@ #!/usr/bin/env node | ||
| const reviewFileName = path.basename(codeReviewPath); | ||
| const parts = [ | ||
| { | ||
| type: "text", | ||
| value: `Review the staged changes in these files: `, | ||
| }, | ||
| ]; | ||
| stagedFiles.forEach((f, i) => { | ||
| parts.push({ type: "tag", value: f }); | ||
| if (i < stagedFiles.length - 1) { | ||
| parts.push({ type: "text", value: ", " }); | ||
| } | ||
| }); | ||
| parts.push({ | ||
| type: "text", | ||
| value: `\nagainst the guidelines in `, | ||
| }); | ||
| const parts = stagedFiles.map((f) => ({ type: "tag", value: f })); | ||
| parts.push({ type: "tag", value: reviewFileName }); | ||
| parts.push({ | ||
| type: "text", | ||
| value: `.\nPlease provide feedback on any issues or suggestions.`, | ||
| }); | ||
| console.log( | ||
| chalk.yellow("\n--- Code review (staged vs code-review.md) ---\n"), | ||
| chalk.yellow("\n--- Code review (tags only) ---\n"), | ||
| ); | ||
@@ -253,0 +232,0 @@ console.log(chalk.blue(`ℹ Staged files: ${stagedFiles.length}`)); |
+1
-1
| { | ||
| "name": "@rajinthan17/dot-cli", | ||
| "version": "1.0.6", | ||
| "version": "1.0.7", | ||
| "description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
12800
-3.53%362
-4.99%