Skip to content

Commit 37f96fc

Browse files
committed
style(review): apply repository formatting
1 parent 00730aa commit 37f96fc

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎src/review-context.ts‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,11 @@ export function extractChangedIdentifiers(patch: string, limit = 10): string[] {
279279
function fallbackIdentifiersForPath(filePath: string): string[] {
280280
const withoutExtension = filePath.replace(/\.[^./]+$/, '');
281281
const basename = path.basename(withoutExtension);
282-
const parentSegments = path.dirname(withoutExtension).split(/[\\/._-]+/).filter(Boolean).reverse();
282+
const parentSegments = path
283+
.dirname(withoutExtension)
284+
.split(/[\\/._-]+/)
285+
.filter(Boolean)
286+
.reverse();
283287
const ordered = [basename, ...parentSegments];
284288
const seen = new Set<string>();
285289

0 commit comments

Comments
 (0)