Skip to content

Fix for Unreachable statement#509

Draft
CrazyMarvin wants to merge 1 commit into
developmentfrom
finding-autofix-122e557a
Draft

Fix for Unreachable statement#509
CrazyMarvin wants to merge 1 commit into
developmentfrom
finding-autofix-122e557a

Conversation

@CrazyMarvin

Copy link
Copy Markdown
Contributor

Remove the unreachable trailing return null; from getAuthToken in src/renderer/lib/linkup.ts (line 106 in the snippet).
This is the minimal and best fix because it preserves current runtime behavior exactly: today that line is never executed, so deleting it does not change functionality. No imports, new methods, or type changes are required.

Suggested fixes powered by Copilot Autofix. Review carefully before merging.

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant