Skip to content

Commit 264c927

Browse files
committed
style: fix linting issues
1 parent c3d354e commit 264c927

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

src/commands/patch/cmd-patch.mts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
import constants from '../../constants.mts'
21
import { runPatch } from '@socketsecurity/socket-patch/run'
32

3+
import constants from '../../constants.mts'
4+
45
import type { CliCommandContext } from '../../utils/meow-with-subcommands.mts'
56

67
export const CMD_NAME = 'patch'

src/utils/package-environment.mts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ function preferWindowsCmdShim(binPath: string, binName: string): string {
244244
if (!constants.WIN32) {
245245
return binPath
246246
}
247-
247+
248248
// Relative paths might be shell commands or aliases, not file paths with potential shims
249249
if (!path.isAbsolute(binPath)) {
250250
return binPath
@@ -327,7 +327,10 @@ async function getAgentVersion(
327327
shouldRunWithNode = resolved
328328
}
329329
} catch (e) {
330-
debugFn('warn', `Failed to resolve bin path for ${agentExecPath}, falling back to direct spawn.`)
330+
debugFn(
331+
'warn',
332+
`Failed to resolve bin path for ${agentExecPath}, falling back to direct spawn.`,
333+
)
331334
debugDir('error', e)
332335
}
333336
}

0 commit comments

Comments
 (0)