We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5199171 commit 28eeb9cCopy full SHA for 28eeb9c
1 file changed
src/commands/fix/agent-fix.mts
@@ -386,14 +386,14 @@ export async function agentFix(
386
// eslint-disable-next-line no-await-in-loop
387
const unstagedCResult = await gitUnstagedModifiedFiles(cwd)
388
const moddedFilepaths = unstagedCResult.ok
389
- ? unstagedCResult.data.filter(filepath => {
390
- const basename = path.basename(filepath)
391
- return (
392
- basename === 'package.json' ||
393
- basename === pkgEnvDetails.lockName
394
- )
395
- })
396
- : []
+ ? unstagedCResult.data.filter(filepath => {
+ const basename = path.basename(filepath)
+ return (
+ basename === 'package.json' ||
+ basename === pkgEnvDetails.lockName
+ )
+ })
+ : []
397
if (!moddedFilepaths.length) {
398
logger.warn(
399
'Unexpected condition: Nothing to commit, skipping PR creation.',
0 commit comments