fix(aidoc): Update to include package-lock.json in uncommitted changes check

This commit is contained in:
2024-06-23 23:24:09 +02:00
parent e24a027fdd
commit 3eb64bcb5d
3 changed files with 8 additions and 2 deletions

View File

@ -27,7 +27,7 @@ export class Commit {
smartgitInstance,
this.projectDir
);
const diffStringArray = await gitRepo.getUncommittedDiff(['pnpm-lock.json']);
const diffStringArray = await gitRepo.getUncommittedDiff(['pnpm-lock.yaml', 'package-lock.json']);
const projectContext = new ProjectContext(this.projectDir);
let contextString = await projectContext.update();
contextString = `