Skip to content

Commit a53810f

Browse files
committed
chore: lint
1 parent 65f9793 commit a53810f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/buddy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ export class Buddy {
328328
// Use ts-pkgx to resolve latest versions
329329
const resolved = await resolveDependencyFile(file.path)
330330

331-
for (const dep of resolved.allDependencies || []) {
331+
for (const dep of resolved.allDependencies || []) {
332332
// Compare constraint version with resolved version
333333
if (dep.constraint !== dep.version && dep.version) {
334334
// Extract version prefix (^, ~, >=, etc.) from constraint

test/dependency-file-parser.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -528,11 +528,11 @@ devDependencies:
528528
// Should preserve constraints and update to correct versions
529529
expect(result).toContain('zip: ^3.0.0')
530530
expect(result).toContain('unzip: ^6.0.0')
531-
531+
532532
// Should NOT have cross-contamination (wrong packages having wrong versions)
533533
expect(result).not.toContain('unzip: ^3.0.0')
534534
expect(result).not.toMatch(/^\s*zip: \^6\.0\.0/m)
535-
535+
536536
// Should preserve other packages unchanged
537537
expect(result).toContain('node: ^22.12.0')
538538
})

0 commit comments

Comments
 (0)