Skip to content

Commit

Permalink
Add explanatory comment to before_node_visit
Browse files Browse the repository at this point in the history
Change-Id: I3cb6bf0f096bfd3aad68012a232cd3dfd9b5137a
Reviewed-on: http://gerrit.causes.com/44989
Tested-by: jenkins <[email protected]>
Reviewed-by: Shane da Silva <[email protected]>
  • Loading branch information
sds committed Dec 3, 2014
1 parent 8932449 commit b6696cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/scss_lint/control_comment_processor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ def before_node_visit(node)
# Is the control comment the only thing on this line?
return if %r{^\s*(//|/\*)}.match(@linter.engine.lines[node.line - 1])

# If so, pop since we only want the comment to apply to the single line
pop_control_comment_stack(node)
end

Expand Down

0 comments on commit b6696cb

Please sign in to comment.