Commit 74f1cce
committed
improve(cli): reset currentScope per contract; guard finalizing status on zero contracts
Address Gemini review on #171:
- reset this.currentScope at the start of each contract so the progress line
doesn't show the previous contract's last scope until the first fetch lands.
- guard the 'finalizing database writes...' status behind totalContracts > 0 so
a zero-contract run (no validated token contracts) shows 'initializing...'
instead of 0 >= 0 reading as finalized.1 parent c6b4797 commit 74f1cce
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| 114 | + | |
114 | 115 | | |
115 | 116 | | |
116 | 117 | | |
| |||
194 | 195 | | |
195 | 196 | | |
196 | 197 | | |
197 | | - | |
| 198 | + | |
198 | 199 | | |
199 | 200 | | |
200 | 201 | | |
| |||
0 commit comments