Send args as array

This commit is contained in:
panticmilos 2022-07-18 18:29:43 +02:00
parent 96d176662d
commit e53798f2d2
2 changed files with 2 additions and 2 deletions

2
dist/setup/index.js vendored
View file

@ -65484,7 +65484,7 @@ function isCacheFeatureAvailable() {
exports.isCacheFeatureAvailable = isCacheFeatureAvailable;
function getLinuxOSReleaseInfo() {
return __awaiter(this, void 0, void 0, function* () {
const { stdout, stderr, exitCode } = yield exec.getExecOutput('lsb_release', ['-i -r -s'], {
const { stdout, stderr, exitCode } = yield exec.getExecOutput('lsb_release', ['-i', '-r', '-s'], {
silent: true
});
const [osRelease, osVersion] = stdout.trim().split('\n');

View file

@ -124,7 +124,7 @@ export function isCacheFeatureAvailable(): boolean {
export async function getLinuxOSReleaseInfo() {
const {stdout, stderr, exitCode} = await exec.getExecOutput(
'lsb_release',
['-i -r -s'],
['-i', '-r', '-s'],
{
silent: true
}