Remove commented-out code in main.js
This commit is contained in:
2
main.js
2
main.js
@@ -682,8 +682,6 @@ async function autoCommit(folderPath, message, win) {
|
|||||||
const threshold = store.get('intelligentCommitThreshold') || 10;
|
const threshold = store.get('intelligentCommitThreshold') || 10;
|
||||||
if (folders[idx].linesChanged >= threshold) {
|
if (folders[idx].linesChanged >= threshold) {
|
||||||
debug('Congratulations! You changed enough lines of code :)');
|
debug('Congratulations! You changed enough lines of code :)');
|
||||||
|
|
||||||
//const cands = folders[idx].llmCandidates;
|
|
||||||
await runLLMCommitRewrite(folders[idx], win);
|
await runLLMCommitRewrite(folders[idx], win);
|
||||||
//folders[idx].linesChanged = 0; // !!!!!!!!!!!!!!!!!!!! needs logic to handle several llm runs called at the same time test
|
//folders[idx].linesChanged = 0; // !!!!!!!!!!!!!!!!!!!! needs logic to handle several llm runs called at the same time test
|
||||||
//folders[idx].llmCandidates = [];
|
//folders[idx].llmCandidates = [];
|
||||||
|
|||||||
Reference in New Issue
Block a user