Skip to content

Commit 69fc6f2

Browse files
greenkeeper[bot]pvdlg
authored andcommitted
chore(package): update xo to version 0.24.0
1 parent e283626 commit 69fc6f2

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ function parse(text, regexp, mentionRegexp, {actions, issuePrefixes, hosts}) {
112112
}
113113
}
114114
}
115+
115116
return results;
116117
}
117118

@@ -133,9 +134,11 @@ function normalize(opts, parentOpt) {
133134
} else if (!Array.isArray(opts[opt])) {
134135
throw typeError(parentOpt, opt);
135136
}
137+
136138
if (opts[opt].length !== 0 && !opts[opt].every(opt => isString(opt))) {
137139
throw typeError(parentOpt, opt);
138140
}
141+
139142
opts[opt] = opts[opt].filter(Boolean);
140143
}
141144
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"codecov": "^3.0.0",
1919
"nyc": "^13.1.0",
2020
"semantic-release": "^15.0.0",
21-
"xo": "^0.23.0"
21+
"xo": "^0.24.0"
2222
},
2323
"engines": {
2424
"node": ">=6"

0 commit comments

Comments
 (0)