Skip to content

Commit 4086fa2

Browse files
committed
fix: use brs, unfortunately
1 parent 089d959 commit 4086fa2

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

build/main.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24916,11 +24916,7 @@ function scanForDuplicates(messages, threshold, dependencyMap, lockfilePath, loc
2491624916
detailsLines.push(`**${version}**: ${pathDisplay}`);
2491724917
}
2491824918
const detailsContent = detailsLines.join(" \n");
24919-
const collapsibleSection = `<details><summary>${versionSet.size} version${versionSet.size > 1 ? "s" : ""}</summary>
24920-
24921-
${detailsContent}
24922-
24923-
</details>`;
24919+
const collapsibleSection = `<details><summary>${versionSet.size} version${versionSet.size > 1 ? "s" : ""}</summary><br><br>${detailsContent}<br><br></details>`;
2492424920
duplicateRows.push(`| ${name} | ${collapsibleSection} |`);
2492524921
}
2492624922
if (duplicateRows.length > 0) {

src/checks/duplicates.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import {
22
type ParsedLockFile,
33
traverse,
4-
type ParsedDependency,
54
type VisitorFn
65
} from 'lockparse';
76

@@ -100,7 +99,7 @@ export function scanForDuplicates(
10099
}
101100

102101
const detailsContent = detailsLines.join(' \n');
103-
const collapsibleSection = `<details><summary>${versionSet.size} version${versionSet.size > 1 ? 's' : ''}</summary>\n\n${detailsContent}\n\n</details>`;
102+
const collapsibleSection = `<details><summary>${versionSet.size} version${versionSet.size > 1 ? 's' : ''}</summary><br><br>${detailsContent}<br><br></details>`;
104103

105104
duplicateRows.push(`| ${name} | ${collapsibleSection} |`);
106105
}

0 commit comments

Comments
 (0)