Closed kirkrodrigues closed 1 week ago
The changes in the Taskfile.yml
focus on the download-and-extract-tar
task, specifically modifying the curl
command to eliminate any trailing slashes from the URL prefix. This is achieved through the use of the trimSuffix
function. While there are minor formatting and comment adjustments, the overall structure and functionality of the tasks remain unchanged, ensuring that the build and cleanup processes continue to operate as intended.
File | Change Summary |
---|---|
Taskfile.yml | Modified curl command in download-and-extract-tar task to use trimSuffix for URL prefix, ensuring no trailing slashes. Minor comments and formatting adjustments made. |
download-and-extract-tar
task's URL, which was causing download failures. The modification ensures that the URL is correctly formatted, preventing the reported 404 error.Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Description
As #577 describes, the extra slash in the nodejs download URL was causing the download to fail. This PR trims any trailing slash from the URL prefix passed to
download-and-extract-ar
to resolve the issue.NOTE: We can't remove the trailing slash from
NODEJS_VERSION_BASE_URL
since that will prevent us from listing available files when computingNODEJS_FILE_BASE_NAME
:https://github.com/y-scope/clp/blob/426cc3d657c67e9fdffe6681e670cba617f4154f/Taskfile.yml#L480-L488
Validation performed
task lint:js-check
succeeds.Summary by CodeRabbit