Skip to content

Commit 659c85c

Browse files
committed
fix(deps): update execa@^6.1.0
1 parent 2750a3d commit 659c85c

9 files changed

+346
-64
lines changed

lib/execGit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import debug from 'debug'
2-
import execa from 'execa'
2+
import { execa } from 'execa'
33

44
const debugLog = debug('lint-staged:execGit')
55

lib/resolveTaskFn.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { redBright, dim } from 'colorette'
2-
import execa from 'execa'
2+
import { execa, execaCommand } from 'execa'
33
import debug from 'debug'
44
import { parseArgsStringToArgv } from 'string-argv'
55
import pidTree from 'pidtree'
@@ -139,7 +139,7 @@ export const resolveTaskFn = ({
139139

140140
return async (ctx = getInitialState()) => {
141141
const execaChildProcess = shell
142-
? execa.command(isFn ? command : `${command} ${files.join(' ')}`, execaOptions)
142+
? execaCommand(isFn ? command : `${command} ${files.join(' ')}`, execaOptions)
143143
: execa(cmd, isFn ? args : args.concat(files), execaOptions)
144144

145145
const quitInterruptCheck = interruptExecutionOnError(ctx, execaChildProcess)

0 commit comments

Comments
 (0)