refactor: 將 node action 重建為 docker action

This commit is contained in:
2026-08-06 17:26:02 +00:00
parent 310cf493ef
commit e31e15dac7
457 changed files with 80807 additions and 352 deletions
+15
View File
@@ -0,0 +1,15 @@
'use strict';
/**
* Creates a new URL by combining the specified URLs
*
* @param {string} baseURL The base URL
* @param {string} relativeURL The relative URL
*
* @returns {string} The combined URL
*/
export default function combineURLs(baseURL, relativeURL) {
return relativeURL
? baseURL.replace(/\/?\/$/, '') + '/' + relativeURL.replace(/^\/+/, '')
: baseURL;
}