Skip to content

Commit a6cb29c

Browse files
committed
t54t45t54
1 parent 0c1bf40 commit a6cb29c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/scanners/diffScan.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,16 @@ async function scanDiff({
1111
openaiModel
1212
}) {
1313
console.log('Running diff scan for changed files');
14-
14+
1515
const git = simpleGit(repoPath);
1616

1717
// Отримуємо змінені файли з останнього коміту
1818
const status = await git.status();
19-
19+
20+
console.log(`status ${status.current}`)
21+
console.log(`status ${status.modified.length}`)
22+
console.log(`status ${await git.firstCommit()}`)
23+
2024
// Збираємо файли, які були змінені
2125
const changedFiles = [
2226
...status.modified,

0 commit comments

Comments
 (0)