Skip to content

Commit 7401f5a

Browse files
author
Alexis Sellier
committed
Merge pull request #445 from jlaire/patch-1
fix undefined reference
2 parents e808472 + 0e6046e commit 7401f5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/less/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ var less = {
3434
}
3535
},
3636
writeError: function (ctx, options) {
37+
options = options || {};
38+
3739
var message = "";
3840
var extract = ctx.extract;
3941
var error = [];
4042
var stylize = options.color ? less.stylize : function (str) { return str };
4143

42-
options = options || {};
43-
4444
if (options.silent) { return }
4545

4646
if (!ctx.index) {

0 commit comments

Comments
 (0)