apply linter

This commit is contained in:
panticmilos 2022-06-14 12:23:38 +02:00
parent 5d7223261b
commit d91db0f679

View file

@ -43,7 +43,7 @@ abstract class CacheDistributor {
); );
this.handleMatchResult(matchedKey, primaryKey); this.handleMatchResult(matchedKey, primaryKey);
} catch(error) { } catch (error) {
const typedError = error as Error; const typedError = error as Error;
if (typedError.name === cache.ValidationError.name) { if (typedError.name === cache.ValidationError.name) {
throw error; throw error;
@ -52,8 +52,6 @@ abstract class CacheDistributor {
core.setOutput('cache-hit', false); core.setOutput('cache-hit', false);
} }
} }
} }
public handleMatchResult(matchedKey: string | undefined, primaryKey: string) { public handleMatchResult(matchedKey: string | undefined, primaryKey: string) {