Skip to content

Commit bb0f760

Browse files
ntkmeeregon
authored andcommitted
Fix a regression where MAKE on windows has an extra space at the end
1 parent 1a0ff44 commit bb0f760

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

dist/index.js

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

windows.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ async function installMSYS2(url, rubyPrefix = process.env.RUNNER_TEMP) {
138138

139139
const ridk = `${rubyPrefix}\\bin\\ridk.cmd`
140140
if (fs.existsSync(ridk)) {
141-
await common.measure('Setting up ridk environment', async () => exportCommandEnv(`set MAKE=make && "${ridk}" enable`))
141+
await common.measure('Setting up ridk environment', async () => exportCommandEnv(`set "MAKE=make" && "${ridk}" enable`))
142142
}
143143

144144
// Examples:
@@ -212,7 +212,7 @@ async function installVCPKG(url) {
212212
throw new Error(`Missing vcVars file: ${vcVars}`)
213213
}
214214

215-
return exportCommandEnv(`set MAKE=nmake && "${vcVars}"`)
215+
return exportCommandEnv(`set "MAKE=nmake" && "${vcVars}"`)
216216
})
217217
}
218218

0 commit comments

Comments
 (0)