@wayai/cli 0.3.65 → 0.3.66
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7938,7 +7938,7 @@ function getHubFolderSlug(hubName, hubEnvironment, hubId, previewLabel, branchNa
|
|
|
7938
7938
|
const base = slugify(hubName);
|
|
7939
7939
|
if (hubEnvironment !== "preview") return base;
|
|
7940
7940
|
const suffix = previewLabel || branchName || hubId.slice(0, 8);
|
|
7941
|
-
return `${base}
|
|
7941
|
+
return `${base}--${slugify(suffix)}`;
|
|
7942
7942
|
}
|
|
7943
7943
|
function resolveHubFolder(workspaceDir, hubId, hubName, hubEnvironment, previewLabel, branchName) {
|
|
7944
7944
|
if (hubId) {
|