Skip to content

Commit 285f4ac

Browse files
committed
Do not normalize rootpath option as it is a URL. Fixes less#1234
1 parent 2e0afb4 commit 285f4ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/lessc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ args = args.filter(function (arg) {
107107
sys.puts("rootpath option requires a parameter");
108108
continueProcessing = false;
109109
} else {
110-
options.rootpath = path.normalize(match[2] + '/').replace('\\', '/');
110+
options.rootpath = match[2].replace(/\\/g, '/');
111111
}
112112
break;
113113
case "ru":

0 commit comments

Comments
 (0)