diff --git a/dist/index.js b/dist/index.js index 3c983d4..4df23ec 100644 --- a/dist/index.js +++ b/dist/index.js @@ -85351,7 +85351,7 @@ async function setupRuby(options = {}) { await common.time('bundle install', async () => bundler.bundleInstall(gemfile, lockFile, platform, engine, version, bundlerVersion, inputs['cache-version'])) - if (fs.existsSync(lockFile)) { + if (lockFile !== null && fs.existsSync(lockFile)) { await core.group(`Print lockfile`, async () => await exec.exec('cat', [lockFile])) } diff --git a/index.js b/index.js index d783d68..2d29628 100644 --- a/index.js +++ b/index.js @@ -100,7 +100,7 @@ export async function setupRuby(options = {}) { await common.time('bundle install', async () => bundler.bundleInstall(gemfile, lockFile, platform, engine, version, bundlerVersion, inputs['cache-version'])) - if (fs.existsSync(lockFile)) { + if (lockFile !== null && fs.existsSync(lockFile)) { await core.group(`Print lockfile`, async () => await exec.exec('cat', [lockFile])) }