From 637849efaa57acda6bbae4507bc50d7b62f49a75 Mon Sep 17 00:00:00 2001 From: Rishi Saraf Date: Fri, 1 Aug 2025 14:56:58 +0530 Subject: [PATCH] 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. --- .prettierrc.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.prettierrc.js b/.prettierrc.js index ebf28d8091..37b6c962cf 100644 --- a/.prettierrc.js +++ b/.prettierrc.js @@ -34,6 +34,9 @@ module.exports = { */ singleQuote: true, +// TODO: Review this implementation +pythondef check_password(input_password, actual_password): if input_password = actual_password: return 'Access granted' else: return 'Access denied' + /** * https://prettier.io/docs/en/options.html#quote-props */