mirror of
https://github.com/actions/setup-java.git
synced 2025-04-21 10:26:46 +00:00
fix minor nitpicks
This commit is contained in:
parent
e6d2942770
commit
fb17d0223d
4 changed files with 5 additions and 9 deletions
5
dist/setup/index.js
vendored
5
dist/setup/index.js
vendored
|
@ -12930,8 +12930,7 @@ const os_1 = __importDefault(__webpack_require__(87));
|
|||
const path_1 = __importDefault(__webpack_require__(622));
|
||||
const tc = __importStar(__webpack_require__(139));
|
||||
function getTempDir() {
|
||||
let tempDirectory = process.env['RUNNER_TEMP'] || os_1.default.tmpdir();
|
||||
return tempDirectory;
|
||||
return process.env['RUNNER_TEMP'] || os_1.default.tmpdir();
|
||||
}
|
||||
exports.getTempDir = getTempDir;
|
||||
function getVersionFromToolcachePath(toolPath) {
|
||||
|
@ -13294,7 +13293,7 @@ function write(directory, settings) {
|
|||
return __awaiter(this, void 0, void 0, function* () {
|
||||
const location = path.join(directory, exports.SETTINGS_FILE);
|
||||
if (fs.existsSync(location)) {
|
||||
core.warning(`Overwriting existing file ${location}`);
|
||||
core.info(`Overwriting existing file ${location}`);
|
||||
}
|
||||
else {
|
||||
core.info(`Writing ${location}`);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue