From d91db0f679c2a22f3ba59dc946acd1495ba3c1c8 Mon Sep 17 00:00:00 2001 From: panticmilos Date: Tue, 14 Jun 2022 12:23:38 +0200 Subject: [PATCH] apply linter --- src/cache-distributions/cache-distributor.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/cache-distributions/cache-distributor.ts b/src/cache-distributions/cache-distributor.ts index c1f5b769..548bc905 100644 --- a/src/cache-distributions/cache-distributor.ts +++ b/src/cache-distributions/cache-distributor.ts @@ -43,7 +43,7 @@ abstract class CacheDistributor { ); this.handleMatchResult(matchedKey, primaryKey); - } catch(error) { + } catch (error) { const typedError = error as Error; if (typedError.name === cache.ValidationError.name) { throw error; @@ -52,8 +52,6 @@ abstract class CacheDistributor { core.setOutput('cache-hit', false); } } - - } public handleMatchResult(matchedKey: string | undefined, primaryKey: string) {