Skip to content

Commit 9f727f1

Browse files
committed
Check for existence of param name before testing.
1 parent 85a4343 commit 9f727f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ module.exports.parseData = function (data, file) {
207207

208208
method.tags.param.forEach(function (param) {
209209

210-
if (!param.name.match(/\./)) {
210+
if (param.name && !param.name.match(/\./)) {
211211

212212
if (param.isOptional) {
213213

0 commit comments

Comments
 (0)