1
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2024-11-30 23:59:16 +01:00

Fixed formatting

This commit is contained in:
Sankalp Kotewar 2022-12-08 08:24:43 +00:00 committed by GitHub
parent c346bf01e0
commit 6e12d27152
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View file

@ -1,5 +1,5 @@
import { StateProvider } from "./stateProvider";
import restoreImpl from "./restoreImpl"; import restoreImpl from "./restoreImpl";
import { StateProvider } from "./stateProvider";
async function run(): Promise<void> { async function run(): Promise<void> {
await restoreImpl(new StateProvider()); await restoreImpl(new StateProvider());

View file

@ -5,7 +5,9 @@ import { Events, Inputs, Outputs, State } from "./constants";
import { IStateProvider } from "./stateProvider"; import { IStateProvider } from "./stateProvider";
import * as utils from "./utils/actionUtils"; import * as utils from "./utils/actionUtils";
async function restoreImpl(stateProvider: IStateProvider): Promise<string | undefined> { async function restoreImpl(
stateProvider: IStateProvider
): Promise<string | undefined> {
try { try {
if (!utils.isCacheFeatureAvailable()) { if (!utils.isCacheFeatureAvailable()) {
utils.setCacheHitOutput(false); utils.setCacheHitOutput(false);