chore: format
54f62620
2 file(s) · +2 −6
| 246 | 246 | ||
| 247 | 247 | // Create agent |
|
| 248 | 248 | const connectingTo = |
|
| 249 | - | credentials.type === "oauth" |
|
| 250 | - | ? credentials.handle |
|
| 251 | - | : credentials.pdsUrl; |
|
| 249 | + | credentials.type === "oauth" ? credentials.handle : credentials.pdsUrl; |
|
| 252 | 250 | s.start(`Connecting as ${connectingTo}...`); |
|
| 253 | 251 | let agent: Awaited<ReturnType<typeof createAgent>> | undefined; |
|
| 254 | 252 | try { |
| 108 | 108 | // Create agent |
|
| 109 | 109 | const s = spinner(); |
|
| 110 | 110 | const connectingTo = |
|
| 111 | - | credentials.type === "oauth" |
|
| 112 | - | ? credentials.handle |
|
| 113 | - | : credentials.pdsUrl; |
|
| 111 | + | credentials.type === "oauth" ? credentials.handle : credentials.pdsUrl; |
|
| 114 | 112 | s.start(`Connecting as ${connectingTo}...`); |
|
| 115 | 113 | let agent: Awaited<ReturnType<typeof createAgent>> | undefined; |
|
| 116 | 114 | try { |