Skip to content

Commit 9877756

Browse files
authored
Apply suggestions from code review
1 parent dad12fe commit 9877756

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

common.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ const crypto = require('crypto')
77
const core = require('@actions/core')
88
const tc = require('@actions/tool-cache')
99
const exec = require('@actions/exec')
10-
const common = require('./common')
1110
const { performance } = require('perf_hooks')
1211
const linuxOSInfo = require('linux-os-info')
1312

@@ -407,7 +406,7 @@ export function setupPath(newPathEntries) {
407406
}
408407

409408
export async function setupJavaHome() {
410-
common.measure("Modifying JAVA_HOME for JRuby", async () => {
409+
await measure("Modifying JAVA_HOME for JRuby", async () => {
411410
console.log("attempting to run with existing JAVA_HOME")
412411

413412
let ret = await exec.exec('ruby', ['--version'])

0 commit comments

Comments
 (0)