Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a bug: if the less file end line is comments, the lessc command option "modify-var" will have no effect. #2031

Merged
merged 1 commit into from
Jun 6, 2014

Conversation

chenboxiang
Copy link
Contributor

Here is an example: the test.less file source code:

@height: 20px;
.cls {
    height: @height;
}
// comments

now execute the command:

bin/lessc test.less --modify-var="height=30px"

the expected result is the @height will transform to 30px, but it is still 20px.

lukeapage added a commit that referenced this pull request Jun 6, 2014
Fix a bug: if the less file end line is comments, the lessc command option "modify-var" will have no effect.
@lukeapage lukeapage merged commit 20abf0a into less:master Jun 6, 2014
@lukeapage
Copy link
Member

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants