Skip to content

Commit 764c741

Browse files
committed
Changed variable name.
1 parent 297da18 commit 764c741

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
@@ -130,17 +130,17 @@ module.exports.formatStringForUID = function (content) {
130130

131131
module.exports.parseData = function (data, file) {
132132

133-
data.forEach(function (methods) {
133+
data.forEach(function (method) {
134134

135-
if (methods.ctx) {
135+
if (method.ctx) {
136136

137-
methods.ctx.uid = file + '-' + module.exports.formatStringForUID(methods.ctx.string);
137+
method.ctx.uid = file + '-' + module.exports.formatStringForUID(method.ctx.string);
138138

139139
}
140140

141-
if (methods.tags) {
141+
if (method.tags) {
142142

143-
methods.tags.forEach(function (tag) {
143+
method.tags.forEach(function (tag) {
144144

145145
if (tag.name && tag.optional) {
146146

0 commit comments

Comments
 (0)