Skip to content

Commit

Permalink
fix: get-message isn't async
Browse files Browse the repository at this point in the history
Remove the async designation from `get-message`, this function is purely
sync.
  • Loading branch information
Arcanemagus committed Feb 8, 2018
1 parent a436d13 commit dfd17a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/get-message.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const _ = require('lodash')

module.exports = async function (commitMessages, key, values) {
module.exports = function (commitMessages, key, values) {
if (!Object.prototype.hasOwnProperty.call(commitMessages, key)) {
throw new Error(`Unknown message key '${key}'`)
}
Expand Down

0 comments on commit dfd17a1

Please sign in to comment.