We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2759b68 + 52b6cdc commit 7186a9bCopy full SHA for 7186a9b
apps/site/util/downloadUtils/archive.tsx
@@ -135,7 +135,9 @@ export const buildReleaseArtifacts = (
135
* It expects the version to be in the format 'v22.0.4' or 'archive'.
136
*/
137
export const extractVersionFromPath = (pathname: string | undefined) => {
138
- if (!pathname) return null;
+ if (!pathname) {
139
+ return null;
140
+ }
141
142
const segments = pathname.split('/').filter(Boolean);
143
const version = segments.pop();
0 commit comments