Skip to content

Commit 85f33e7

Browse files
authored
fix: boolean check for LINK_TO_PROFILE
LINK_TO_PROFILE is read/set as boolean but compared against string Signed-off-by: Pavan Raga <[email protected]>
1 parent 9e9ce8e commit 85f33e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

markdown.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def get_contributor_table(
191191
commit_urls += f"{url}, "
192192
new_contributor = collaborator.new_contributor
193193

194-
row = f"| {'' if link_to_profile == 'false' else '@'}{username} | {contribution_count} |"
194+
row = f"| {'' if not link_to_profile else '@'}{username} | {contribution_count} |"
195195
if "New Contributor" in columns:
196196
row += f" {new_contributor} |"
197197
if "Sponsor URL" in columns:

0 commit comments

Comments
 (0)