From becf82ef65d9e920a26eb3a53c09c173eed1db69 Mon Sep 17 00:00:00 2001 From: Josh Gross Date: Tue, 12 Nov 2019 15:01:01 -0500 Subject: [PATCH] Format --- __tests__/restore.test.ts | 2 +- src/restore.ts | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/__tests__/restore.test.ts b/__tests__/restore.test.ts index 2de4aa3..f9d31cc 100644 --- a/__tests__/restore.test.ts +++ b/__tests__/restore.test.ts @@ -33,7 +33,7 @@ beforeAll(() => { return actualUtils.isValidEvent(); }); - jest.spyOn(actionUtils, "getSupportedEvents", ).mockImplementation(() => { + jest.spyOn(actionUtils, "getSupportedEvents").mockImplementation(() => { const actualUtils = jest.requireActual("../src/utils/actionUtils"); return actualUtils.getSupportedEvents(); }); diff --git a/src/restore.ts b/src/restore.ts index fe6c6f4..ee6f7c3 100644 --- a/src/restore.ts +++ b/src/restore.ts @@ -13,7 +13,11 @@ async function run() { // Validate inputs, this can cause task failure if (!utils.isValidEvent()) { core.setFailed( - `Event Validation Error: The event type ${process.env[Events.Key]} is not supported. Only ${utils.getSupportedEvents().join(", ")} events are supported at this time.` + `Event Validation Error: The event type ${ + process.env[Events.Key] + } is not supported. Only ${utils + .getSupportedEvents() + .join(", ")} events are supported at this time.` ); }