mirror of
https://github.com/actions/setup-java.git
synced 2025-04-21 02:16:45 +00:00
fix minor nitpicks
This commit is contained in:
parent
e6d2942770
commit
fb17d0223d
4 changed files with 5 additions and 9 deletions
|
@ -4,9 +4,7 @@ import path from 'path';
|
|||
import * as tc from '@actions/tool-cache';
|
||||
|
||||
export function getTempDir() {
|
||||
let tempDirectory = process.env['RUNNER_TEMP'] || os.tmpdir();
|
||||
|
||||
return tempDirectory;
|
||||
return process.env['RUNNER_TEMP'] || os.tmpdir();
|
||||
}
|
||||
|
||||
export function getVersionFromToolcachePath(toolPath: string) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue