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 cf32b6c commit 6b9bf51Copy full SHA for 6b9bf51
scripts/web_startup.js
@@ -30,7 +30,7 @@ async function main() {
30
o.textContent = o.value = v;
31
ver_switcher.append(o);
32
}
33
- var latest_version = await fetch("pyproject.toml").then(r => r.text()).then(r => /version = "([\d.]+)"/.exec(r)[0]);
+ var latest_version = await fetch("pyproject.toml").then(r => r.text()).then(r => /version = "([\d.]+)"/.exec(r)[1]);
34
ver_switcher.value = latest_version;
35
info(`["${all_versions.join('", "')}"]\nlatest=${latest_version}\n`);
36
await switch_version();
0 commit comments