Skip to content

Commit

Permalink
chore: upgrade execa commands
Browse files Browse the repository at this point in the history
  • Loading branch information
stijnvanhulle committed Jul 10, 2024
1 parent e125409 commit ffdf350
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions packages/cli/src/utils/executeHooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ export async function executeHooks({ hooks, logLevel }: ExecutingHooksProps): Pr

const subProcess = await execa(cmd, _args, {
detached: true,
signal: abortController.signal,
}).pipeStdout?.(oraWritable as Writable)
cancelSignal: abortController.signal,
stdout: ['pipe', oraWritable],
})
spinner.suffixText = ''

if (logLevel === LogLevel.silent) {
Expand Down
1 change: 1 addition & 0 deletions packages/mocks/hellowWorld.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export const hallo = 'world'
2 changes: 1 addition & 1 deletion packages/swagger-ts/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ type ResolvedOptions = {
transformers: NonNullable<Options['transformers']>
oasType: NonNullable<Options['oasType']>
usedEnumNames: Record<string, number>
mapper:Record<string, any>
mapper: Record<string, any>
}

export type FileMeta = {
Expand Down

0 comments on commit ffdf350

Please sign in to comment.