Skip to content

Commit c8f65df

Browse files
committed
Fix typo in unknown argument warning in bin/lessc
1 parent 2e73a02 commit c8f65df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/lessc

+2-2
Original file line numberDiff line numberDiff line change
@@ -483,12 +483,12 @@ function processPluginQueue() {
483483
case 'rewrite-urls':
484484
if (match[2] === 'all' || match[2] === 'local') {
485485
options.rewriteUrls = match[2];
486-
} if (match[2] === 'off') {
486+
} else if (match[2] === 'off') {
487487
options.rewriteUrls = false;
488488
} else if (!match[2]) {
489489
options.rewriteUrls = 'all';
490490
} else {
491-
console.error('Unkown rewrite-urls argument ' + match[2]);
491+
console.error('Unknown rewrite-urls argument ' + match[2]);
492492
continueProcessing = false;
493493
process.exitCode = 1;
494494
}

0 commit comments

Comments
 (0)