Skip to content

Commit ba1dcd3

Browse files
committed
Lint nit
1 parent 3bf689b commit ba1dcd3

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

src/commands/optimize.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,9 @@ export const optimize: CliSubcommand = {
650650
)
651651
}
652652
if (state.added.size > 0) {
653-
console.log(`Added ${state.added.size} Socket.dev optimized overrides 🚀`)
653+
console.log(
654+
`Added ${state.added.size} Socket.dev optimized overrides 🚀`
655+
)
654656
}
655657
} else {
656658
console.log('Congratulations! Already Socket.dev optimized 🎉')

src/utils/package-manager-detector.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,12 @@ const readLockFileByAgent: Record<Agent, ReadLockFile> = (() => {
124124
}),
125125
npm: wrapReader(async (lockPath: string) => await readFileUtf8(lockPath)),
126126
pnpm: wrapReader(async (lockPath: string) => await readFileUtf8(lockPath)),
127-
'yarn/berry': wrapReader(async (lockPath: string) => await readFileUtf8(lockPath)),
128-
'yarn/classic': wrapReader(async (lockPath: string) => await readFileUtf8(lockPath))
127+
'yarn/berry': wrapReader(
128+
async (lockPath: string) => await readFileUtf8(lockPath)
129+
),
130+
'yarn/classic': wrapReader(
131+
async (lockPath: string) => await readFileUtf8(lockPath)
132+
)
129133
}
130134
})()
131135

0 commit comments

Comments
 (0)