From 94907dc416d591a233c55469d4673abf93d5067d Mon Sep 17 00:00:00 2001 From: MaksimZhukov Date: Tue, 28 Apr 2020 17:18:33 +0300 Subject: [PATCH] Remove IS_MACOS variable --- dist/index.js | 1 - src/install-python.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 9d31c469..a4872dc4 100644 --- a/dist/index.js +++ b/dist/index.js @@ -2601,7 +2601,6 @@ const MANIFEST_REPO_OWNER = 'actions'; const MANIFEST_REPO_NAME = 'python-versions'; exports.MANIFEST_URL = `https://raw.githubusercontent.com/${MANIFEST_REPO_OWNER}/${MANIFEST_REPO_NAME}/master/versions-manifest.json`; const IS_WINDOWS = process.platform === 'win32'; -const IS_MACOS = process.platform === 'darwin'; function findReleaseFromManifest(semanticVersionSpec, architecture) { return __awaiter(this, void 0, void 0, function* () { const manifest = yield tc.getManifestFromRepo(MANIFEST_REPO_OWNER, MANIFEST_REPO_NAME, AUTH_TOKEN); diff --git a/src/install-python.ts b/src/install-python.ts index b21f3b9c..3b950ef7 100644 --- a/src/install-python.ts +++ b/src/install-python.ts @@ -10,7 +10,6 @@ const MANIFEST_REPO_NAME = 'python-versions'; export const MANIFEST_URL = `https://raw.githubusercontent.com/${MANIFEST_REPO_OWNER}/${MANIFEST_REPO_NAME}/master/versions-manifest.json`; const IS_WINDOWS = process.platform === 'win32'; -const IS_MACOS = process.platform === 'darwin'; export async function findReleaseFromManifest( semanticVersionSpec: string,