Skip to content

Commit

Permalink
Fix insiders version string check (#227)
Browse files Browse the repository at this point in the history
121fe1f accidentally changed this from 'insiders' to 'insider'. As a result, if a downloaded insiders build is found, it is never re-downloaded
  • Loading branch information
roblourens committed Jul 31, 2023
1 parent e372957 commit d1668ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ switch (process.platform) {
}

export function isInsiderVersionIdentifier(version: string): boolean {
return version === 'insider' || version.endsWith('-insider'); // insider or 1.2.3-insider version string
return version === 'insiders' || version.endsWith('-insider'); // insider or 1.2.3-insider version string
}

export function isStableVersionIdentifier(version: string): boolean {
Expand Down

0 comments on commit d1668ff

Please sign in to comment.