File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,20 +15,10 @@ export async function spawnCoana(
1515 options ?: SpawnOptions | undefined ,
1616 extra ?: SpawnExtra | undefined ,
1717) : Promise < CResult < unknown > > {
18- const {
19- env : spawnEnv ,
20- spinner,
21- stdio,
22- } = { __proto__ : null , ...options } as SpawnOptions
18+ const { env : spawnEnv } = { __proto__ : null , ...options } as SpawnOptions
2319 const orgSlugCResult = await getDefaultOrgSlug ( )
24- const SOCKET_CLI_API_TOKEN = getDefaultToken ( )
2520 const SOCKET_ORG_SLUG = orgSlugCResult . ok ? orgSlugCResult . data : undefined
26-
27- // Stop spinner before streaming output if stdio is 'inherit'
28- if ( stdio === 'inherit' && spinner ) {
29- spinner . stop ( )
30- }
31-
21+ const SOCKET_CLI_API_TOKEN = getDefaultToken ( )
3222 try {
3323 const output = await spawn (
3424 constants . execPath ,
You can’t perform that action at this time.
0 commit comments