From 2f69f2f015289f3121f2161bcb88bd56d0b26c7c Mon Sep 17 00:00:00 2001 From: Dmitry Shibanov Date: Tue, 26 Apr 2022 16:24:57 +0200 Subject: [PATCH] remove throwing error --- src/setup-python.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/setup-python.ts b/src/setup-python.ts index 6b3ae1da..62c76dba 100644 --- a/src/setup-python.ts +++ b/src/setup-python.ts @@ -53,8 +53,6 @@ async function run() { if (cache && isCacheFeatureAvailable()) { await cacheDependencies(cache, pythonVersion); } - } else { - throw new Error("there's empty python-version input"); } const matchersPath = path.join(__dirname, '../..', '.github'); core.info(`##[add-matcher]${path.join(matchersPath, 'python.json')}`);