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 =