Add lastHeadHash to folder object
This commit is contained in:
1
main.js
1
main.js
@@ -561,6 +561,7 @@ async function autoCommit(folderPath, message) {
|
|||||||
const newHead = (await git.revparse(['HEAD'])).trim();
|
const newHead = (await git.revparse(['HEAD'])).trim();
|
||||||
folders[idx].llmCandidates = folders[idx].llmCandidates || [];
|
folders[idx].llmCandidates = folders[idx].llmCandidates || [];
|
||||||
folders[idx].llmCandidates.push(newHead);
|
folders[idx].llmCandidates.push(newHead);
|
||||||
|
folders[idx].lastHeadHash = newHead;
|
||||||
console.log(folders[idx].llmCandidates)
|
console.log(folders[idx].llmCandidates)
|
||||||
|
|
||||||
// Threshold holen
|
// Threshold holen
|
||||||
|
|||||||
Reference in New Issue
Block a user