From b8865a6272c5e53631d37b89028aaaaf60045f79 Mon Sep 17 00:00:00 2001 From: Adrian Smijulj Date: Fri, 26 Mar 2021 19:28:59 +0100 Subject: [PATCH] chore: format code --- src/extractCommits.ts | 4 ++-- src/isValidCommitMesage.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/extractCommits.ts b/src/extractCommits.ts index 686a3d3..4a342d9 100644 --- a/src/extractCommits.ts +++ b/src/extractCommits.ts @@ -1,5 +1,5 @@ -import get from "lodash.get" -import got from "got" +import get from "lodash.get"; +import got from "got"; type Commit = { message: string; diff --git a/src/isValidCommitMesage.ts b/src/isValidCommitMesage.ts index 42b796d..8e3d78c 100644 --- a/src/isValidCommitMesage.ts +++ b/src/isValidCommitMesage.ts @@ -16,7 +16,7 @@ const DEFAULT_COMMIT_TYPES = [ const isValidCommitMessage = (message, availableTypes = DEFAULT_COMMIT_TYPES): boolean => { // Exceptions. // This is a message that's auto-generated by git. Can't do much about it unfortunately. Let's allow it. - if (message.startsWith('Merge ')) { + if (message.startsWith("Merge ")) { return true; }