From 6e12d27152ee88b82788c2a1b96b84b1075883d1 Mon Sep 17 00:00:00 2001 From: Sankalp Kotewar <98868223+kotewar@users.noreply.github.com> Date: Thu, 8 Dec 2022 08:24:43 +0000 Subject: [PATCH] Fixed formatting --- src/restore.ts | 2 +- src/restoreImpl.ts | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/restore.ts b/src/restore.ts index 38eb654..96a527a 100644 --- a/src/restore.ts +++ b/src/restore.ts @@ -1,5 +1,5 @@ -import { StateProvider } from "./stateProvider"; import restoreImpl from "./restoreImpl"; +import { StateProvider } from "./stateProvider"; async function run(): Promise { await restoreImpl(new StateProvider()); diff --git a/src/restoreImpl.ts b/src/restoreImpl.ts index 402f5f9..dec2437 100644 --- a/src/restoreImpl.ts +++ b/src/restoreImpl.ts @@ -5,7 +5,9 @@ import { Events, Inputs, Outputs, State } from "./constants"; import { IStateProvider } from "./stateProvider"; import * as utils from "./utils/actionUtils"; -async function restoreImpl(stateProvider: IStateProvider): Promise { +async function restoreImpl( + stateProvider: IStateProvider +): Promise { try { if (!utils.isCacheFeatureAvailable()) { utils.setCacheHitOutput(false);