From 56d062bba1ccf7ab5c7a91639cc8f8c072baf9c4 Mon Sep 17 00:00:00 2001 From: boxiang chen Date: Mon, 26 May 2014 09:26:07 +0800 Subject: [PATCH] If the end line is comments, the modify-var option will have no effect. --- bin/lessc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/lessc b/bin/lessc index 1eb3c957..809741d8 100755 --- a/bin/lessc +++ b/bin/lessc @@ -336,7 +336,7 @@ var parseLessFile = function (e, data) { return; } - data = options.globalVariables + data + options.modifyVariables; + data = options.globalVariables + data + '\n' + options.modifyVariables; options.paths = [path.dirname(input)].concat(options.paths); options.filename = input;