mirror of
https://github.com/ruby/setup-ruby.git
synced 2026-09-13 22:44:20 +02:00
Clearer
This commit is contained in:
+1
-1
@@ -65032,7 +65032,7 @@ async function downloadAndExtract(platform, engine, version, rubyPrefix) {
|
||||
if (error.message.includes('404')) {
|
||||
throw new Error(`Unavailable version ${version} for ${engine} on ${platform}
|
||||
You can request it at https://github.com/ruby/setup-ruby/issues
|
||||
Original Error: (${error.message})`)
|
||||
Cause: ${error.message}`)
|
||||
} else {
|
||||
throw error
|
||||
}
|
||||
|
||||
+1
-1
@@ -75,7 +75,7 @@ async function downloadAndExtract(platform, engine, version, rubyPrefix) {
|
||||
if (error.message.includes('404')) {
|
||||
throw new Error(`Unavailable version ${version} for ${engine} on ${platform}
|
||||
You can request it at https://github.com/ruby/setup-ruby/issues
|
||||
Original Error: (${error.message})`)
|
||||
Cause: ${error.message}`)
|
||||
} else {
|
||||
throw error
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user