From a783f957cde7b14bc88f9a611add69b1c6f87084 Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Sun, 27 Jun 2021 13:40:55 +0200 Subject: [PATCH] Remove unnecessary check --- common.js | 4 +--- dist/index.js | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/common.js b/common.js index 12b3fb2..9153130 100644 --- a/common.js +++ b/common.js @@ -178,9 +178,7 @@ export function setupPath(newPathEntries) { } console.log(`Entries added to ${envPath} to use selected Ruby:`) for (const entry of newPath) { - if (!cleanPath.includes(entry)) { - console.log(` ${entry}`) - } + console.log(` ${entry}`) } core.endGroup() diff --git a/dist/index.js b/dist/index.js index 11b628a..9cc41f9 100644 --- a/dist/index.js +++ b/dist/index.js @@ -419,9 +419,7 @@ function setupPath(newPathEntries) { } console.log(`Entries added to ${envPath} to use selected Ruby:`) for (const entry of newPath) { - if (!cleanPath.includes(entry)) { - console.log(` ${entry}`) - } + console.log(` ${entry}`) } core.endGroup()