chore: format code

This commit is contained in:
Adrian Smijulj 2021-03-26 19:28:59 +01:00
parent 3d328a08ab
commit b8865a6272
2 changed files with 3 additions and 3 deletions

View file

@ -1,5 +1,5 @@
import get from "lodash.get" import get from "lodash.get";
import got from "got" import got from "got";
type Commit = { type Commit = {
message: string; message: string;

View file

@ -16,7 +16,7 @@ const DEFAULT_COMMIT_TYPES = [
const isValidCommitMessage = (message, availableTypes = DEFAULT_COMMIT_TYPES): boolean => { const isValidCommitMessage = (message, availableTypes = DEFAULT_COMMIT_TYPES): boolean => {
// Exceptions. // Exceptions.
// This is a message that's auto-generated by git. Can't do much about it unfortunately. Let's allow it. // 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; return true;
} }