We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 156725f commit f9772d7Copy full SHA for f9772d7
src/scripts/parsers/reference.ts
@@ -23,7 +23,7 @@ const parsersOutPath = path.join(__dirname, "out");
23
export const parseLibraryReference =
24
async (): Promise<ParsedLibraryReference | null> => {
25
let latestRelease = p5Version;
26
- if (/^\d+\.\d+\.\d+(-[\w\.]+)?$/.exec(latestRelease)) {
+ if (/^\d+\.\d+\.\d+(-[\w.]+)?$/.exec(latestRelease)) {
27
latestRelease = 'v' + latestRelease;
28
}
29
0 commit comments