Skip to content

Commit 3e28fb3

Browse files
authored
Merge pull request #34 from hedythedev/patch-1
Plural/Singular Wording for GitHub data section
2 parents 646b01e + 3d644a0 commit 3e28fb3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

main.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -409,8 +409,10 @@ def get_short_info(github):
409409
else:
410410
string += "> 🚫 Not opted to Hire\n > \n"
411411

412-
string += '> 📜 ' + str(public_repo) + ' Public Repository \n > \n'
413-
string += '> 🔑 ' + str(private_repo) + ' Owned Private Repository \n\n'
412+
string += '> 📜 ' + str(public_repo) + " Public Repositor"
413+
string += 'ies \n > \n' if public_repo > 1 else 'y \n > \n'
414+
string += '> 🔑 ' + str(private_repo) + " Owned Private Repositor"
415+
string += 'ies \n\n' if private_repo > 1 else 'y \n > \n'
414416

415417
print(string)
416418
return string

0 commit comments

Comments
 (0)