Skip to content

Commit

Permalink
Return original string
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeembrey committed Oct 8, 2024
1 parent 8abe104 commit ebc973f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ function decode(str: string): string | undefined {
try {
return decodeURIComponent(str);
} catch (e) {
return undefined;
return str;
}
}

Expand Down

0 comments on commit ebc973f

Please sign in to comment.