From 0cde4689ba33c09f1b890c1725572ad96751a3fc Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Thu, 30 May 2024 15:10:04 +0200 Subject: [PATCH] Clearer --- dist/index.js | 2 +- ruby-builder.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 41e868d3a..f15c6307f 100644 --- a/dist/index.js +++ b/dist/index.js @@ -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 } diff --git a/ruby-builder.js b/ruby-builder.js index a28ddc205..06a81e0ce 100644 --- a/ruby-builder.js +++ b/ruby-builder.js @@ -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 }