oops, fixed command line tool
This commit is contained in:
parent
5ab2a633dd
commit
3175652f76
@ -10,7 +10,9 @@ var less = require('lib/less/adapters/server');
|
||||
var args = process.argv.slice(1);
|
||||
|
||||
args = args.filter(function (arg) {
|
||||
if (arg = arg.match(/^--?([a-z][a-z-]*)$/i)) { arg = arg[1] }
|
||||
var match;
|
||||
|
||||
if (match = arg.match(/^--?([a-z][a-z-]*)$/i)) { arg = match[1] }
|
||||
else { return arg }
|
||||
|
||||
switch (arg) {
|
||||
|
Loading…
Reference in New Issue
Block a user