File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -466,6 +466,7 @@ export async function agentFix(
466466 const unstagedCResult = await gitUnstagedModifiedFiles ( cwd )
467467 const moddedFilepaths = unstagedCResult . ok
468468 ? unstagedCResult . data . filter ( filepath => {
469+ logger . log ( 'filepath' , filepath )
469470 const basename = path . basename ( filepath )
470471 return (
471472 basename === 'package.json' ||
Original file line number Diff line number Diff line change @@ -379,7 +379,7 @@ export async function gitUnstagedModifiedFiles(
379379 const rawRelPaths = changedFilesDetails . split ( '\n' ) ?? [ ]
380380 return {
381381 ok : true ,
382- data : rawRelPaths . map ( relPath => normalizePath ( relPath ) ) ,
382+ data : rawRelPaths . map ( p => normalizePath ( p ) ) ,
383383 }
384384 } catch ( e ) {
385385 debugFn ( 'error' , 'caught: git diff --name-only failed' )
You can’t perform that action at this time.
0 commit comments