Skip to content

Commit cb74758

Browse files
committed
chore: upgrade to vs2022
1 parent a142223 commit cb74758

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ async function compileNode (
248248
// conflicting arguments have been passed manually.
249249
const vcbuildArgs: string[] = [...buildArgs, ...makeArgs, 'projgen'];
250250
if (!vcbuildArgs.includes('debug') && !vcbuildArgs.includes('release')) { vcbuildArgs.push('release'); }
251-
if (!vcbuildArgs.some((arg) => /^vs/.test(arg))) { vcbuildArgs.push('vs2019'); }
251+
if (!vcbuildArgs.some((arg) => /^vs/.test(arg))) { vcbuildArgs.push('vs2022'); }
252252

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

0 commit comments

Comments
 (0)