Skip to content

Commit 56b4a6b

Browse files
nhancodesnekevss
andauthored
Update src/components/conformance/utils.ts
guard clause for when `testPath` only contains version Co-authored-by: Kevin Ness <[email protected]>
1 parent bde17b5 commit 56b4a6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/conformance/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export function createSearchParams(
5555
) {
5656
const search = new URLSearchParams();
5757
search.append("version", version.tagName);
58-
if (testPath) {
58+
if (testPath && testPath.length > 1) {
5959
search.append("testPath", testPath.slice(1).join("/"));
6060
}
6161
if (selectedTest) {

0 commit comments

Comments
 (0)