[Pkg-javascript-commits] [less.js] 48/285: Fix incorrect variable name for error

Jonas Smedegaard dr at jones.dk
Mon Oct 26 23:23:36 UTC 2015


This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag v2.0.0
in repository less.js.

commit 01a5d7cd8c25cf1c350ee360a72795686070e8b5
Author: Forbes Lindesay <forbes.lindesay at red-gate.com>
Date:   Fri Jun 6 11:03:06 2014 +0100

    Fix incorrect variable name for error
---
 lib/less/parser.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/less/parser.js b/lib/less/parser.js
index 97ccc8f..735102f 100644
--- a/lib/less/parser.js
+++ b/lib/less/parser.js
@@ -358,7 +358,7 @@ var Parser = function Parser(env) {
             try {
                 chunks = chunker(parser, str, env);
             } catch (ex) {
-                return callback(new LessError(parser, error, env));
+                return callback(new LessError(parser, ex, env));
             }
 
             current = chunks[0];

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/less.js.git



More information about the Pkg-javascript-commits mailing list