Skip to content

🤖 Full Scan Report — 2 issue(s) found #4

@github-actions

Description

@github-actions

🤖 AI Full Scan Report

Severity Count
🔴 Error 2
🟡 Warning 0
🔵 Info 0

🔴 Errors

  • src/bridge/bridgeConfig.ts:34 — 函数返回类型声明为 'string',但逻辑可能返回 'undefined'。如果 getBridgeBaseUrlOverride() 返回 undefined 且 getOauthConfig().BASE_API_URL 也不存在或为空,函数将返回 undefined,导致类型不匹配或运行时错误。
  • src/bridge/bridgeConfig.ts:34 — 访问 getOauthConfig().BASE_API_URL 时未进行空值检查。如果 getOauthConfig() 返回 null 或 undefined,代码将抛出异常。

Generated by Newma Review

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions