mirror of
https://github.com/actions/setup-python.git
synced 2025-04-24 15:32:13 +00:00
apply linter
This commit is contained in:
parent
5d7223261b
commit
d91db0f679
1 changed files with 1 additions and 3 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue