Rename function

This commit is contained in:
MaksimZhukov 2020-04-27 13:42:18 +03:00
parent 16963e0b7e
commit 8b4ba3d70d
2 changed files with 4 additions and 4 deletions

4
dist/index.js vendored
View File

@ -2609,7 +2609,7 @@ function findReleaseFromManifest(semanticVersionSpec, architecture) {
}); });
} }
exports.findReleaseFromManifest = findReleaseFromManifest; exports.findReleaseFromManifest = findReleaseFromManifest;
function _installPython(workingDirectory) { function installPython(workingDirectory) {
return __awaiter(this, void 0, void 0, function* () { return __awaiter(this, void 0, void 0, function* () {
const options = { const options = {
cwd: workingDirectory, cwd: workingDirectory,
@ -2646,7 +2646,7 @@ function installCpythonFromRelease(release) {
pythonExtractedFolder = yield tc.extractTar(pythonPath, `./${fileName}`); pythonExtractedFolder = yield tc.extractTar(pythonPath, `./${fileName}`);
} }
core.info('Execute installation script'); core.info('Execute installation script');
yield _installPython(pythonExtractedFolder); yield installPython(pythonExtractedFolder);
}); });
} }
exports.installCpythonFromRelease = installCpythonFromRelease; exports.installCpythonFromRelease = installCpythonFromRelease;

View File

@ -29,7 +29,7 @@ export async function findReleaseFromManifest(
); );
} }
async function _installPython(workingDirectory: string) { async function installPython(workingDirectory: string) {
const options: ExecOptions = { const options: ExecOptions = {
cwd: workingDirectory, cwd: workingDirectory,
silent: true, silent: true,
@ -64,5 +64,5 @@ export async function installCpythonFromRelease(release: tc.IToolRelease) {
} }
core.info('Execute installation script'); core.info('Execute installation script');
await _installPython(pythonExtractedFolder); await installPython(pythonExtractedFolder);
} }