mirror of
https://github.com/ruby/setup-ruby.git
synced 2026-09-13 14:34:21 +02:00
Fix typo
This commit is contained in:
+1
-1
@@ -59271,7 +59271,7 @@ function addVCVARSEnv() {
|
||||
function renameSystem32Dlls() {
|
||||
const sys32 = 'C:\\Windows\\System32\\'
|
||||
const badFiles = [`${sys32}libcrypto-1_1-x64.dll`, `${sys32}libssl-1_1-x64.dll`]
|
||||
const existing = badFiles.map((dll) => fs.existsSync(dll))
|
||||
const existing = badFiles.filter((dll) => fs.existsSync(dll))
|
||||
console.log(`Renaming ${existing.join(' and ')} to avoid dll resolution conflicts on Ruby <= 2.4`)
|
||||
existing.forEach(dll => fs.renameSync(dll, `${dll}_`))
|
||||
}
|
||||
|
||||
+1
-1
@@ -242,7 +242,7 @@ export function addVCVARSEnv() {
|
||||
function renameSystem32Dlls() {
|
||||
const sys32 = 'C:\\Windows\\System32\\'
|
||||
const badFiles = [`${sys32}libcrypto-1_1-x64.dll`, `${sys32}libssl-1_1-x64.dll`]
|
||||
const existing = badFiles.map((dll) => fs.existsSync(dll))
|
||||
const existing = badFiles.filter((dll) => fs.existsSync(dll))
|
||||
console.log(`Renaming ${existing.join(' and ')} to avoid dll resolution conflicts on Ruby <= 2.4`)
|
||||
existing.forEach(dll => fs.renameSync(dll, `${dll}_`))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user