mirror of
https://github.com/actions/setup-python.git
synced 2025-08-27 03:04:14 +00:00
Send args as array
This commit is contained in:
parent
96d176662d
commit
e53798f2d2
2
dist/setup/index.js
vendored
2
dist/setup/index.js
vendored
@ -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');
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user