From 272cf9d04a17002a82d38ffb1184fe273f6936d8 Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Sat, 7 Mar 2020 13:45:08 +0100 Subject: [PATCH] Remove commented code --- dist/index.js | 4 ---- index.js | 4 ---- 2 files changed, 8 deletions(-) diff --git a/dist/index.js b/dist/index.js index f9abf0f..07aaff2 100644 --- a/dist/index.js +++ b/dist/index.js @@ -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)) diff --git a/index.js b/index.js index 82979fc..152c804 100644 --- a/index.js +++ b/index.js @@ -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))