🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@rajinthan17/dot-cli

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rajinthan17/dot-cli - npm Package Compare versions

Comparing version
1.0.6
to
1.0.7
+2
-23
index.js

@@ -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",