We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b88093 commit 81efe50Copy full SHA for 81efe50
1 file changed
src/commands/scan/scan-reachability.mts
@@ -9,7 +9,12 @@ export async function scanReachability(
9
argv: string[] | readonly string[],
10
cwd: string,
11
): Promise<CResult<unknown>> {
12
- return await spawnCoana(
+ // Lazily access constants.spinner.
13
+ const { spinner } = constants
14
+
15
+ spinner.start()
16
17
+ const result = await spawnCoana(
18
[
19
'run',
20
cwd,
@@ -20,6 +25,10 @@ export async function scanReachability(
25
'--disable-report-submission',
21
26
...argv,
22
27
],
23
- { cwd },
28
+ { cwd, spinner },
24
29
)
30
31
+ spinner.stop()
32
33
+ return result
34
}
0 commit comments