mirror of
https://github.com/ruby/setup-ruby.git
synced 2026-09-13 22:44:20 +02:00
Remove duplicated code
This commit is contained in:
@@ -129,10 +129,6 @@ function setupPath(rubyPrefix, ruby, toolsPath) {
|
||||
|
||||
if (toolsPath) { newPath.push(toolsPath) }
|
||||
|
||||
if (ruby.startsWith('rubinius')) {
|
||||
newPath.push(path.join(rubyPrefix, 'gems', 'bin'))
|
||||
}
|
||||
|
||||
core.exportVariable('PATH', [...newPath, ...cleanPath].join(path.delimiter))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user