mirror of
https://github.com/less/less.js.git
synced 2026-02-07 13:35:10 -05:00
fix error reporting when index == 0
This commit is contained in:
@@ -43,7 +43,7 @@ var less = {
|
||||
|
||||
if (options.silent) { return }
|
||||
|
||||
if (!ctx.index) {
|
||||
if (!ctx.hasOwnProperty('index')) {
|
||||
return sys.error(ctx.stack || ctx.message);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user