Skip to content

Commit

Permalink
skip duplicates
Browse files Browse the repository at this point in the history
  • Loading branch information
ProjektGopher committed Jan 4, 2025
1 parent ec6bedb commit fb19a6f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/Repositories/GitPathsRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ public function diff($branch)
->map(fn ($output) => explode(PHP_EOL, $output))
->flatten()
->filter()
->unique()
->values();

return $this->processFileNames($files);
Expand Down

0 comments on commit fb19a6f

Please sign in to comment.