Skip to content

Remove return statement which is not inside a function#98

Open
deepsource-autofix[bot] wants to merge 1 commit intomasterfrom
deepsource-autofix-a7769e01
Open

Remove return statement which is not inside a function#98
deepsource-autofix[bot] wants to merge 1 commit intomasterfrom
deepsource-autofix-a7769e01

Conversation

@deepsource-autofix
Copy link
Contributor

A return statement should not be used outside of a function or method. This will raise a SyntaxError. Make sure that your code and indentation are correct.

A `return` statement should not be used outside of a function or method. This will raise a `SyntaxError`. Make sure that your code and indentation are correct.
@deepsource-development
Copy link

deepsource-development bot commented Feb 12, 2026

DeepSource Code Review

DeepSource reviewed changes in the commit range 1120e57..dff4693 on this pull request. Below is the summary for the review, and you can see the individual issues we found as review comments.

For detailed review results, please see the PR on DeepSource ↗

Important

Some issues found as part of this review are outside of the diff in this pull request and aren't shown in the inline review comments due to GitHub's API limitations. Please see the DeepSource dashboard for this PR to view those issues.

PR Report Card

Security × 5 issues Overall PR Quality   

Focus Area: Security

Guidance
Fix the XSS vulnerability caused by the 'v-html' directive in `javascript/packages/demo-vue/src/components/Header.vue`.

Grade capped at D due to multiple critical issues
Reliability × 66 issues
Complexity × 12 issues
Hygiene × 46 issues

Code Review Summary

Analyzer Status Summary Details
Go No new issues detected. Review ↗
Python 2 existing issues fixed. Review ↗
SQL No new issues detected. Review ↗
Terraform No new issues detected. Review ↗
JavaScript 129 new issues detected. Review ↗
Secrets No new issues detected. Review ↗
How are these analyzer statuses calculated?

Administrators can configure which issue categories are reported and cause analysis to be marked as failed when detected. This helps prevent bad and insecure code from being introduced in the codebase. If you're an administrator, you can modify this in the repository's settings.


💡 If you're a repository administrator, you can configure the quality gates from the settings.

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