File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -262,8 +262,7 @@ export async function uploadFile(fn: string, key?: string) {
262262 } ) ;
263263 } catch ( error ) {
264264 if ( isProxyRelatedError ( error ) ) {
265- const rawMessage =
266- error instanceof Error ? error . message : String ( error ) ;
265+ const rawMessage = error instanceof Error ? error . message : String ( error ) ;
267266 throw new Error (
268267 `${ rawMessage } \n\n${ t ( 'proxyNetworkError' ) } \n${ t ( 'proxyNetworkErrorTips' ) } ` ,
269268 ) ;
Original file line number Diff line number Diff line change @@ -184,5 +184,6 @@ This can reduce the risk of inconsistent dependencies and supply chain attacks.
184184 apkExtracted : 'APK extracted to {{output}}' ,
185185 proxyNetworkError :
186186 'Network error — likely caused by a proxy/VPN. Please try disabling your proxy and retry.' ,
187- proxyNetworkErrorTips : 'Common fixes:\n1. Disable system proxy or VPN\n2. Check HTTP_PROXY / HTTPS_PROXY environment variables\n3. Check proxy settings in .npmrc' ,
187+ proxyNetworkErrorTips :
188+ 'Common fixes:\n1. Disable system proxy or VPN\n2. Check HTTP_PROXY / HTTPS_PROXY environment variables\n3. Check proxy settings in .npmrc' ,
188189} ;
Original file line number Diff line number Diff line change @@ -170,5 +170,6 @@ export default {
170170 apkExtracted : 'APK 已提取到 {{output}}' ,
171171 proxyNetworkError :
172172 '网络连接异常,可能是代理/VPN 导致。请尝试关闭代理后重试。' ,
173- proxyNetworkErrorTips : '常见解决方法:\n1. 关闭系统代理或 VPN\n2. 检查 HTTP_PROXY / HTTPS_PROXY 环境变量\n3. 检查 .npmrc 中的 proxy 配置' ,
173+ proxyNetworkErrorTips :
174+ '常见解决方法:\n1. 关闭系统代理或 VPN\n2. 检查 HTTP_PROXY / HTTPS_PROXY 环境变量\n3. 检查 .npmrc 中的 proxy 配置' ,
174175} ;
You can’t perform that action at this time.
0 commit comments