From 8b4ba3d70d66f5476dbade991f2e8ef8544d27e0 Mon Sep 17 00:00:00 2001
From: MaksimZhukov <v-mazhuk@microsoft.com>
Date: Mon, 27 Apr 2020 13:42:18 +0300
Subject: [PATCH] Rename function

---
 dist/index.js         | 4 ++--
 src/install-python.ts | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dist/index.js b/dist/index.js
index 94ee28a3..7036e7cd 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -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;
diff --git a/src/install-python.ts b/src/install-python.ts
index 73dec9f0..4cc83eee 100644
--- a/src/install-python.ts
+++ b/src/install-python.ts
@@ -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);
 }