Skip to content

Commit 91e78fb

Browse files
committed
Test a bogus flag
1 parent 82eb255 commit 91e78fb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

common.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ export async function setupJavaHome() {
409409
await measure("Modifying JAVA_HOME for JRuby", async () => {
410410
console.log("attempting to run with existing JAVA_HOME")
411411

412-
let ret = await exec.exec('ruby', ['--version'], {ignoreReturnCode: true})
412+
let ret = await exec.exec('ruby', ['--bogusversion'], {ignoreReturnCode: true})
413413

414414
if (ret === 0) {
415415
console.log("JRuby successfully starts, using existing JAVA_HOME")

dist/index.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)