Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathansampson authored and bsclifton committed Apr 14, 2017
1 parent e3f3f65 commit f2c126b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/extensions.js
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ module.exports.init = () => {
object[key] = insertPredefinedMessages(value, dictionary, pattern)
return
}
if (type === 'string') {
if (typeof value === 'string') {
let match = value.match(pattern)
if (match) {
let message = dictionary[match[1]]
Expand Down

0 comments on commit f2c126b

Please sign in to comment.