mirror of
https://github.com/ruby/setup-ruby.git
synced 2026-09-13 14:34:21 +02:00
Rename getVirtualEnvironmentName() to getOSNameVersion() for clarity
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import {getOSNameVersion} from "./common";
|
||||
|
||||
const os = require('os')
|
||||
const fs = require('fs')
|
||||
const path = require('path')
|
||||
@@ -44,7 +46,7 @@ export async function setupRuby(options = {}) {
|
||||
|
||||
process.chdir(inputs['working-directory'])
|
||||
|
||||
const platform = common.getVirtualEnvironmentName()
|
||||
const platform = common.getOSNameVersion()
|
||||
const [engine, parsedVersion] = parseRubyEngineAndVersion(inputs['ruby-version'])
|
||||
|
||||
let installer
|
||||
|
||||
Reference in New Issue
Block a user