Skip to content

Commit f80930f

Browse files
committed
fix: query string resolution
1 parent 36acc9c commit f80930f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/analyzer.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,9 @@ export function analyze(
131131
return;
132132
}
133133

134-
function resolveSource(entryId: string, value: string): string | undefined {
134+
function resolveSource(id: string, value: string): string | undefined {
135135
// Remove query
136-
const [id] = entryId.split("?");
136+
value = value.split("?", 2)[0];
137137

138138
// Resolve aliases
139139
for (const [from, to] of Object.entries(alias)) {

0 commit comments

Comments
 (0)