Skip to content

Commit

Permalink
hotfix: made OSV test match 1.10 which is not actually a number but a…
Browse files Browse the repository at this point in the history
… version
  • Loading branch information
M-Valentino committed Nov 23, 2024
1 parent a657705 commit 96c31f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/programs/default/osTest.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ <h2>Test Results</h2>
await sleep(10);
}

if (/^\d+(\.\d+)*$/) {
if (/^\d+(\.\d+)*$/.test(osv)) {
printPassed(message);
return true;
} else {
Expand Down

0 comments on commit 96c31f2

Please sign in to comment.