fix minor nitpicks

This commit is contained in:
Maxim Lobanov 2021-03-10 11:21:11 +03:00
parent e6d2942770
commit fb17d0223d
4 changed files with 5 additions and 9 deletions

View file

@ -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) {