Skip to content

Commit

Permalink
chore: upgrade to vs2022
Browse files Browse the repository at this point in the history
  • Loading branch information
kmruiz committed Dec 4, 2023
1 parent a142223 commit cb74758
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ async function compileNode (
// conflicting arguments have been passed manually.
const vcbuildArgs: string[] = [...buildArgs, ...makeArgs, 'projgen'];
if (!vcbuildArgs.includes('debug') && !vcbuildArgs.includes('release')) { vcbuildArgs.push('release'); }
if (!vcbuildArgs.some((arg) => /^vs/.test(arg))) { vcbuildArgs.push('vs2019'); }
if (!vcbuildArgs.some((arg) => /^vs/.test(arg))) { vcbuildArgs.push('vs2022'); }

for (const module of linkedJSModules) {
vcbuildArgs.push('link-module', module);
Expand Down

0 comments on commit cb74758

Please sign in to comment.