Update dist

This commit is contained in:
Uladzimir Havenchyk 2022-07-31 17:40:03 +03:00
parent 8ba370a949
commit 6ba41b7436
No known key found for this signature in database
GPG key ID: CAE771D3036BED13
2 changed files with 23 additions and 13 deletions

View file

@ -6,7 +6,6 @@ import * as auth from './authutil';
import * as path from 'path';
import {restoreCache} from './cache-restore';
import {isGhes, isCacheFeatureAvailable} from './cache-utils';
import { URL } from 'url';
import os = require('os');
export async function run() {
@ -101,9 +100,7 @@ function resolveVersionInput(): string {
}
async function printEnvDetailsAndSetOutput() {
const groupName = "Environment details";
core.startGroup(groupName);
core.startGroup("Environment details");
// Output version of node is being used
try {
const {stdout: installedNodeVersion} = await exec.getExecOutput(
@ -124,5 +121,5 @@ async function printEnvDetailsAndSetOutput() {
ignoreReturnCode: true
});
core.endGroup(groupName);
core.endGroup();
}