From e6ed85bb3a689cecfae9bb3e6ad4e27475bc6d82 Mon Sep 17 00:00:00 2001 From: Shubham Tiwari Date: Tue, 29 Mar 2022 14:38:25 +0530 Subject: [PATCH] format check --- src/setup-python.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/setup-python.ts b/src/setup-python.ts index b06d6c56..f3bb2d49 100644 --- a/src/setup-python.ts +++ b/src/setup-python.ts @@ -14,9 +14,13 @@ function isPyPyVersion(versionSpec: string) { async function cacheDependencies(cache: string, pythonVersion: string) { if (!actionsCache.isFeatureAvailable()) { if (isGhes()) { - throw new Error('Caching is only supported on GHES version >= 3.5. If you are on version >=3.5 Please check with GHES admin if Actions cache service is enabled or not.'); + throw new Error( + 'Caching is only supported on GHES version >= 3.5. If you are on version >=3.5 Please check with GHES admin if Actions cache service is enabled or not.' + ); } else { - throw new Error('An internal error has occurred in cache backend. Please check https://www.githubstatus.com/ for any ongoing issue in actions.'); + throw new Error( + 'An internal error has occurred in cache backend. Please check https://www.githubstatus.com/ for any ongoing issue in actions.' + ); } } const cacheDependencyPath =