Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add used-before-assignment check #106

Merged
merged 1 commit into from
Apr 14, 2023
Merged

Add used-before-assignment check #106

merged 1 commit into from
Apr 14, 2023

Conversation

Ruchip16
Copy link
Member

The used-before-assignment error occurs when a variable is accessed before it has been assigned a value. This usually happens when the variable is defined inside a conditional statement, loop, or a function and its scope is not properly defined. Hence this check ensures that scope is properly defined.

@Ruchip16 Ruchip16 added the bug label Apr 14, 2023
@Ruchip16 Ruchip16 requested a review from a team as a code owner April 14, 2023 13:41
@Ruchip16 Ruchip16 self-assigned this Apr 14, 2023
@Ruchip16 Ruchip16 requested review from ganeshrn, priyamsahoo, shatakshiiii and ssbarnea and removed request for a team April 14, 2023 13:41
@Ruchip16 Ruchip16 merged commit cfcb252 into ansible:main Apr 14, 2023
@Ruchip16 Ruchip16 deleted the fixes branch April 14, 2023 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants