Skip to content

Commit 8fc7c7e

Browse files
authoredOct 4, 2022
feat: add contribution type promotion (#339)
1 parent 048b4e3 commit 8fc7c7e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed
 

‎src/util/contribution-types.js

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const _ = require('lodash/fp')
22
const repo = require('../repo')
33

4-
const defaultTypes = function(repoType) {
4+
const defaultTypes = function (repoType) {
55
return {
66
a11y: {
77
symbol: '️️️️♿️',
@@ -136,9 +136,13 @@ const defaultTypes = function(repoType) {
136136
symbol: '📹',
137137
description: 'Videos',
138138
},
139+
promotion: {
140+
symbol: '📣',
141+
description: 'Promotion',
142+
},
139143
}
140144
}
141145

142-
module.exports = function(options) {
146+
module.exports = function (options) {
143147
return _.assign(defaultTypes(options.repoType), options.types)
144148
}

0 commit comments

Comments
 (0)
Please sign in to comment.