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; }