Add silent exec output

This commit is contained in:
panticmilos 2022-07-18 12:24:47 +02:00
parent 655506db87
commit 2dd90ca26f
2 changed files with 6 additions and 2 deletions

4
dist/setup/index.js vendored
View file

@ -65484,7 +65484,9 @@ function isCacheFeatureAvailable() {
exports.isCacheFeatureAvailable = isCacheFeatureAvailable;
function getLinuxOSReleaseInfo() {
return __awaiter(this, void 0, void 0, function* () {
const versionId = yield exec.getExecOutput('lsb_release', ['-a']);
const versionId = yield exec.getExecOutput('lsb_release', ['-a'], {
silent: true
});
let osVersion = '';
let osRelease = '';
versionId.stdout.split('\n').forEach(elem => {

View file

@ -122,7 +122,9 @@ export function isCacheFeatureAvailable(): boolean {
}
export async function getLinuxOSReleaseInfo() {
const versionId = await exec.getExecOutput('lsb_release', ['-a']);
const versionId = await exec.getExecOutput('lsb_release', ['-a'], {
silent: true
});
let osVersion = '';
let osRelease = '';