mirror of
https://github.com/actions/setup-python.git
synced 2025-04-24 15:32:13 +00:00
Rename function
This commit is contained in:
parent
16963e0b7e
commit
8b4ba3d70d
2 changed files with 4 additions and 4 deletions
4
dist/index.js
vendored
4
dist/index.js
vendored
|
@ -2609,7 +2609,7 @@ function findReleaseFromManifest(semanticVersionSpec, architecture) {
|
|||
});
|
||||
}
|
||||
exports.findReleaseFromManifest = findReleaseFromManifest;
|
||||
function _installPython(workingDirectory) {
|
||||
function installPython(workingDirectory) {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
const options = {
|
||||
cwd: workingDirectory,
|
||||
|
@ -2646,7 +2646,7 @@ function installCpythonFromRelease(release) {
|
|||
pythonExtractedFolder = yield tc.extractTar(pythonPath, `./${fileName}`);
|
||||
}
|
||||
core.info('Execute installation script');
|
||||
yield _installPython(pythonExtractedFolder);
|
||||
yield installPython(pythonExtractedFolder);
|
||||
});
|
||||
}
|
||||
exports.installCpythonFromRelease = installCpythonFromRelease;
|
||||
|
|
|
@ -29,7 +29,7 @@ export async function findReleaseFromManifest(
|
|||
);
|
||||
}
|
||||
|
||||
async function _installPython(workingDirectory: string) {
|
||||
async function installPython(workingDirectory: string) {
|
||||
const options: ExecOptions = {
|
||||
cwd: workingDirectory,
|
||||
silent: true,
|
||||
|
@ -64,5 +64,5 @@ export async function installCpythonFromRelease(release: tc.IToolRelease) {
|
|||
}
|
||||
|
||||
core.info('Execute installation script');
|
||||
await _installPython(pythonExtractedFolder);
|
||||
await installPython(pythonExtractedFolder);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue