minor fix

This commit is contained in:
Dmitry Shibanov 2022-12-13 12:25:27 +01:00
parent 292688b127
commit 7fc684f251
5 changed files with 8 additions and 8 deletions

View file

@ -17,7 +17,7 @@ export default class CanaryBuild extends BaseDistribution {
'-v8-canary'
);
for (let i = versions.length - 1; i >= 0; i--) {
for (let i = 0; i < versions.length; i++) {
const potential: string = versions[i];
const satisfied: boolean = semver.satisfies(
potential.replace('v8-canary', 'v8-canary.'),