From d6e98d930262c2585221e283afd2b850ec5ddef1 Mon Sep 17 00:00:00 2001 From: Sankalp Kotewar <98868223+kotewar@users.noreply.github.com> Date: Tue, 6 Dec 2022 10:08:26 +0000 Subject: [PATCH] Calling methods from same file --- src/restore.ts | 2 ++ src/restoreOnly.ts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/restore.ts b/src/restore.ts index 6b9e221..7f11e2f 100644 --- a/src/restore.ts +++ b/src/restore.ts @@ -5,4 +5,6 @@ async function restore(): Promise { await run(new StateOutputSetter()); } +restore(); + export default restore; diff --git a/src/restoreOnly.ts b/src/restoreOnly.ts index ee73a01..a5bf399 100644 --- a/src/restoreOnly.ts +++ b/src/restoreOnly.ts @@ -5,4 +5,6 @@ async function restoreOnly(): Promise { await run(new NonStateOutputSetter()); } +restoreOnly(); + export default restoreOnly;