From 328ea62d7c71b59e44e33704d9e9b1f4e9c3890e Mon Sep 17 00:00:00 2001 From: Bill Huneke Date: Fri, 20 Mar 2015 12:01:33 -0400 Subject: [PATCH] re: #2508 - revert #2510 - undo all fixes. issue == WONTFIX --- bin/lessc | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/bin/lessc b/bin/lessc index fbefddf4d..8b9058066 100755 --- a/bin/lessc +++ b/bin/lessc @@ -270,25 +270,12 @@ function printUsage() { return; } - // If input filenames are surrounded in quotes here, strip the quotes. - // Bug #2508 - var filenames = [args[1], args[2]].map(function (arg) { - var match; - - match = arg.match(/^'(.+)'$/); - if (match) { - return match[1]; - } else { - return arg; - } - }); - - var input = filenames[0]; + var input = args[1]; if (input && input != '-') { input = path.resolve(process.cwd(), input); } - var output = filenames[1]; - var outputbase = filenames[1]; + var output = args[2]; + var outputbase = args[2]; if (output) { output = path.resolve(process.cwd(), output); } @@ -494,4 +481,4 @@ function printUsage() { parseLessFile(false, buffer); }); } -})(); +})(); \ No newline at end of file