Skip to content
This repository has been archived by the owner on Jun 11, 2023. It is now read-only.

Commit

Permalink
Whoops
Browse files Browse the repository at this point in the history
  • Loading branch information
SilverAndro committed Jun 11, 2022
1 parent 20e2bf3 commit 9e5fc9e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ data class ModrinthProjectCreate private constructor(
curseforgeProject.categories
),
discord_url = ModifoldArgs.args.discordServer.takeIf { it.isNotBlank() },
issues_url = curseforgeProject.links.issuesUrl.takeIf { it?.isNotBlank() == true },
source_url = curseforgeProject.links.sourceUrl.takeIf { it?.isNotBlank() == true },
wiki_url = curseforgeProject.links.wikiUrl.takeIf { it?.isNotBlank() == true }
issues_url = curseforgeProject.links.issuesUrl?.takeIf { it.isNotBlank() },
source_url = curseforgeProject.links.sourceUrl?.takeIf { it.isNotBlank() },
wiki_url = curseforgeProject.links.wikiUrl?.takeIf { it.isNotBlank() }
)
}
}
Expand Down

0 comments on commit 9e5fc9e

Please sign in to comment.