Skip to content

Commit 27ad125

Browse files
committed
cp_lib_validators.py: fix conditional variable duplication
1 parent cac7052 commit 27ad125

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adabot/lib/circuitpython_library_validators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ def validate_repo_state(self, repo):
226226
errors.append(ERROR_NOT_IN_BUNDLE)
227227

228228
if (repo_fields.get("allow_squash_merge") or
229-
repo_fields.get("allow_squash_merge")):
229+
repo_fields.get("allow_rebase_merge")):
230230
errors.append(ERROR_ONLY_ALLOW_MERGES)
231231
return errors
232232

0 commit comments

Comments
 (0)