Skip to content

Commit ffdf350

Browse files
committed
chore: upgrade execa commands
1 parent e125409 commit ffdf350

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

packages/cli/src/utils/executeHooks.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,9 @@ export async function executeHooks({ hooks, logLevel }: ExecutingHooksProps): Pr
3939

4040
const subProcess = await execa(cmd, _args, {
4141
detached: true,
42-
signal: abortController.signal,
43-
}).pipeStdout?.(oraWritable as Writable)
42+
cancelSignal: abortController.signal,
43+
stdout: ['pipe', oraWritable],
44+
})
4445
spinner.suffixText = ''
4546

4647
if (logLevel === LogLevel.silent) {

packages/mocks/hellowWorld.js

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export const hallo = 'world'

packages/swagger-ts/src/types.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ type ResolvedOptions = {
117117
transformers: NonNullable<Options['transformers']>
118118
oasType: NonNullable<Options['oasType']>
119119
usedEnumNames: Record<string, number>
120-
mapper:Record<string, any>
120+
mapper: Record<string, any>
121121
}
122122

123123
export type FileMeta = {

0 commit comments

Comments
 (0)