(statusText)
| 38 | } |
| 39 | |
| 40 | function isRecoverableStep9AuthFailure(statusText) { |
| 41 | const text = String(statusText || '').replace(/\s+/g, ' ').trim(); |
| 42 | if (!text) { |
| 43 | return false; |
| 44 | } |
| 45 | |
| 46 | if (/oauth flow is not pending/i.test(text)) { |
| 47 | return true; |
| 48 | } |
| 49 | |
| 50 | return /(?:认证失败|回调 URL 提交失败):\s*/i.test(text); |
| 51 | } |
| 52 | |
| 53 | return { |
| 54 | getActivationStrategy, |
no outgoing calls
no test coverage detected