Skip to content

Commit e1b903b

Browse files
Add feature: A logical error in an if-else condition where an equality check is mistakenly replaced with an assignment operation
This commit introduces a logic-error for code review analysis.
1 parent f150343 commit e1b903b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.prettierrc.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ module.exports = {
3434
*/
3535
singleQuote: true,
3636

37+
// TODO: Review this implementation
38+
pythondef check_password(input_password, actual_password): if input_password = actual_password: return 'Access granted' else: return 'Access denied'
39+
3740
/**
3841
* https://prettier.io/docs/en/options.html#quote-props
3942
*/

0 commit comments

Comments
 (0)