Skip to content

Commit 418805c

Browse files
committed
Changed variable name.
1 parent 35bc9ac commit 418805c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lib/utils.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -219,17 +219,17 @@ module.exports.parseData = function (data, file) {
219219

220220
if (method.tags.param) {
221221

222-
method.tags.param.forEach(function (tag) {
222+
method.tags.param.forEach(function (param) {
223223

224-
if (!tag.name.match(/\./)) {
224+
if (!param.name.match(/\./)) {
225225

226-
if (tag.isOptional) {
226+
if (param.isOptional) {
227227

228-
params.optional.push(tag.name);
228+
params.optional.push(param.name);
229229

230230
} else {
231231

232-
params.required.push(tag.name);
232+
params.required.push(param.name);
233233

234234
}
235235

0 commit comments

Comments
 (0)