Skip to content

fix: Trailing slash for missing path#148

Merged
recmanj merged 1 commit into
mainfrom
hotfix/version_gen_no_path
Jul 8, 2026
Merged

fix: Trailing slash for missing path#148
recmanj merged 1 commit into
mainfrom
hotfix/version_gen_no_path

Conversation

@tbkr

@tbkr tbkr commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Description

Trailing slash for missing path

Contributor Declaration

By opening this pull request, I affirm the following:

  • All authors agree to the Contributor License Agreement.
  • The code follows the project's coding standards.
  • I have performed self-review and added comments where needed.
  • I have added or updated tests to verify that my changes are effective and functional.
  • I have run all existing tests and confirmed they pass.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adjusts URL construction for the generate-version-selector helper script so that the Sites API URL includes a trailing slash when the --path input is empty, matching the API’s expected format for listing at the root.

Changes:

  • Append a trailing / to API_URL when args.path is falsy (e.g., empty string), so root-path listing hits .../files/ instead of .../files.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@tbkr tbkr requested review from figi44, iainrussell and recmanj July 8, 2026 15:49
@tbkr tbkr force-pushed the hotfix/version_gen_no_path branch from 4256ec0 to ac2d687 Compare July 8, 2026 18:26
@tbkr tbkr force-pushed the hotfix/version_gen_no_path branch from ac2d687 to b9fdce0 Compare July 8, 2026 18:57
@recmanj recmanj merged commit 070ce2f into main Jul 8, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants