Remove commented code

This commit is contained in:
Benoit Daloze
2020-03-07 13:45:08 +01:00
parent 8363b99194
commit 272cf9d04a
2 changed files with 0 additions and 8 deletions
Generated Vendored
-4
View File
@@ -1097,10 +1097,6 @@ function findUbuntuVersion() {
}
function setupPath(rubyPrefix, ruby, toolsPath) {
// not used, saved for future
// const rubyPath = path.join(rubyPrefix, 'bin', 'ruby')
// const gemUserDir = cp.execSync(`${rubyPath} -e "puts Gem.user_dir"`).toString().trim()
const originalPath = process.env['PATH'].split(path.delimiter)
let cleanPath = originalPath.filter(e => !/\bruby\b/i.test(e))
-4
View File
@@ -108,10 +108,6 @@ function findUbuntuVersion() {
}
function setupPath(rubyPrefix, ruby, toolsPath) {
// not used, saved for future
// const rubyPath = path.join(rubyPrefix, 'bin', 'ruby')
// const gemUserDir = cp.execSync(`${rubyPath} -e "puts Gem.user_dir"`).toString().trim()
const originalPath = process.env['PATH'].split(path.delimiter)
let cleanPath = originalPath.filter(e => !/\bruby\b/i.test(e))