Remove unnecessary check
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
+1
-3
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user