@shakecodeslikecray/whiterose 0.2.3 → 0.2.4
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/dist/cli/index.js +2 -2
- package/dist/cli/index.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -1017,7 +1017,7 @@ Set "survived": true if you CANNOT disprove it (it's a real bug).`;
|
|
|
1017
1017
|
}
|
|
1018
1018
|
parseUnderstandingResponse(response, files) {
|
|
1019
1019
|
let totalLines = 0;
|
|
1020
|
-
for (const file of files
|
|
1020
|
+
for (const file of files) {
|
|
1021
1021
|
try {
|
|
1022
1022
|
const content = readFileSync(file, "utf-8");
|
|
1023
1023
|
totalLines += content.split("\n").length;
|
|
@@ -4293,7 +4293,7 @@ ${chalk.red(" \u255A\u2550\u2550\u255D\u255A\u2550\u2550\u255D \u255A\u2550\u255
|
|
|
4293
4293
|
${chalk.dim(` "I've been staring at your code for a long time."`)}
|
|
4294
4294
|
`;
|
|
4295
4295
|
var program = new Command();
|
|
4296
|
-
program.name("whiterose").description("AI-powered bug hunter that uses your existing LLM subscription").version("0.2.
|
|
4296
|
+
program.name("whiterose").description("AI-powered bug hunter that uses your existing LLM subscription").version("0.2.4").hook("preAction", () => {
|
|
4297
4297
|
const args = process.argv.slice(2);
|
|
4298
4298
|
if (!args.includes("--help") && !args.includes("-h") && args.length > 0) {
|
|
4299
4299
|
console.log(BANNER);
|