Skip to content

Commit

Permalink
Fix logic
Browse files Browse the repository at this point in the history
  • Loading branch information
ericholscher committed Feb 25, 2025
1 parent dbd5681 commit 09ed9ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions preview/scripts/edit-description.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ module.exports = async ({inputs, github, context}) => {

if (RTD_SINGLE_VERSION === "true") {
RTD_URL = RTD_PROJECT_DOMAIN;
} else if (RTD_SINGLE_LANGUAGE) {
RTD_URL = RTD_PROJECT_DOMAIN + `${RTD_PROJECT_LANGUAGE}/`;
} else if (RTD_SINGLE_LANGUAGE === "true") {
RTD_URL = RTD_PROJECT_DOMAIN + `${PR_NUMBER}/`;
} else {
RTD_URL = RTD_PROJECT_DOMAIN + `${RTD_PROJECT_LANGUAGE}/${PR_NUMBER}/`;
}
Expand Down

0 comments on commit 09ed9ae

Please sign in to comment.