Skip to content

Commit

Permalink
fix: remove nuxt known authors
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Jun 15, 2020
1 parent 97dec0a commit 23c0019
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions packages/core/src/version/changelog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,11 @@ const types = {
type CommitType = keyof typeof types
const allowedTypes = Object.keys(types) as CommitType[]

const knownAuthors = [
'chopin',
'parsa',
'clark',
'galvez',
'lichter',
'molotkov',
'marrec',
'pim',
]
// TODO: read from package.json
const knownAuthors: string[] = []

const isKnownAuthor = (name: string) =>
Boolean(knownAuthors.find(n => name.toLowerCase().includes(n)))
knownAuthors.some(n => name.toLowerCase().includes(n))

interface Commit {
message: string
Expand Down

0 comments on commit 23c0019

Please sign in to comment.