Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion windows.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export async function install(platform, engine, version) {

// windows 2016 and 2019 need ucrt64 installed, 2022 and future images need
// ucrt64 or mingw64 installed, depending on Ruby version
if (((msys2Type === 'ucrt64') || !hasMSYS2PreInstalled) && common.floatVersion(version) >= 2.4) {
if ((msys2Type === 'ucrt64') || (common.floatVersion(version) >= 2.4)) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So this installs GCC even if MSYS2 is pre-installed, to avoid the too new gcc from the pre-installed MSYS2, right?

await installGCCTools(msys2Type, version)
}

Expand Down