Skip to content

Commit 8f312ef

Browse files
committed
Fix typo
1 parent 2647067 commit 8f312ef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

windows.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ export function addVCVARSEnv() {
242242
function renameSystem32Dlls() {
243243
const sys32 = 'C:\\Windows\\System32\\'
244244
const badFiles = [`${sys32}libcrypto-1_1-x64.dll`, `${sys32}libssl-1_1-x64.dll`]
245-
const existing = badFiles.map((dll) => fs.existsSync(dll))
245+
const existing = badFiles.filter((dll) => fs.existsSync(dll))
246246
console.log(`Renaming ${existing.join(' and ')} to avoid dll resolution conflicts on Ruby <= 2.4`)
247247
existing.forEach(dll => fs.renameSync(dll, `${dll}_`))
248248
}

0 commit comments

Comments
 (0)