Skip to content

Commit 045dd42

Browse files
committed
Fix indentation
1 parent 152ff00 commit 045dd42

File tree

2 files changed

+22
-22
lines changed

2 files changed

+22
-22
lines changed

dist/index.js

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.js

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -97,19 +97,19 @@ function createGemRC() {
9797
}
9898

9999
function setupPath(ruby, newPathEntries) {
100-
const originalPath = process.env['PATH'].split(path.delimiter)
101-
let cleanPath = originalPath.filter(entry => !/\bruby\b/i.test(entry))
102-
103-
if (cleanPath.length !== originalPath.length) {
104-
console.log('Entries removed from PATH to avoid conflicts with Ruby:')
105-
for (const entry of originalPath) {
106-
if (!cleanPath.includes(entry)) {
107-
console.log(` ${entry}`)
108-
}
109-
}
100+
const originalPath = process.env['PATH'].split(path.delimiter)
101+
let cleanPath = originalPath.filter(entry => !/\bruby\b/i.test(entry))
102+
103+
if (cleanPath.length !== originalPath.length) {
104+
console.log('Entries removed from PATH to avoid conflicts with Ruby:')
105+
for (const entry of originalPath) {
106+
if (!cleanPath.includes(entry)) {
107+
console.log(` ${entry}`)
108+
}
110109
}
110+
}
111111

112-
core.exportVariable('PATH', [...newPathEntries, ...cleanPath].join(path.delimiter))
112+
core.exportVariable('PATH', [...newPathEntries, ...cleanPath].join(path.delimiter))
113113
}
114114

115115
function readBundledWithFromGemfileLock() {

0 commit comments

Comments
 (0)