@principal-ade/dynamic-file-tree 0.1.63 → 0.1.64
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.mjs +2 -2
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2036,8 +2036,8 @@ var buildTreeDataFromVersions = (versionSnapshots, workflowCoverageMap, filterMo
|
|
|
2036
2036
|
if (storyboardChildren.length === 0) {
|
|
2037
2037
|
continue;
|
|
2038
2038
|
}
|
|
2039
|
-
const repoName = snapshot.repositoryUrl
|
|
2040
|
-
const shortSha = snapshot.commitSha
|
|
2039
|
+
const repoName = snapshot.repositoryUrl?.replace("https://github.com/", "") ?? "unknown";
|
|
2040
|
+
const shortSha = snapshot.commitSha?.substring(0, 8) ?? "unknown";
|
|
2041
2041
|
result.push({
|
|
2042
2042
|
id: `version:${versionKey}`,
|
|
2043
2043
|
name: `${repoName}@${shortSha}`,
|
package/package.json
CHANGED