Skip to content

Commit

Permalink
Small bug fix: index is passed to Comment node but never assigned
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-dean authored and Andrey Mistulov committed May 31, 2017
1 parent 51761aa commit 2880db8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/less/tree/comment.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ var Node = require("./node"),
var Comment = function (value, isLineComment, index, currentFileInfo) {
this.value = value;
this.isLineComment = isLineComment;
this.index = index;
this.currentFileInfo = currentFileInfo;
this.allowRoot = true;
};
Expand Down

0 comments on commit 2880db8

Please sign in to comment.