removed duplicate swift statement

This commit is contained in:
Phill Zarfos
2023-09-02 15:39:57 -04:00
parent 0066156aca
commit 0203086aac

View File

@ -161,7 +161,6 @@ def get_main_pr_language(languages, files) -> str:
most_common_extension == 'scala' and top_language == 'scala' or \
most_common_extension == 'kt' and top_language == 'kotlin' or \
most_common_extension == 'pl' and top_language == 'perl' or \
most_common_extension == 'swift' and top_language == 'swift' or \
most_common_extension == top_language:
main_language_str = top_language