[Pkg-javascript-commits] [less.js] 23/26: missing return statement causing failing tests

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


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

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

commit b51691cceeb61bf1d5d290886301e7f5dba2d2ad
Author: Luke Page <luke.a.page at gmail.com>
Date:   Sat Nov 22 18:46:02 2014 +0000

    missing return statement causing failing tests
---
 lib/less-browser/index.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/less-browser/index.js b/lib/less-browser/index.js
index 69c7576..f0762be 100644
--- a/lib/less-browser/index.js
+++ b/lib/less-browser/index.js
@@ -222,6 +222,7 @@ less.refresh = function (reload, modifyVars, clearFileCache) {
             if (e) {
                 errors.add(e, e.href || sheet.href);
                 reject(e);
+                return;
             }
             if (webInfo.local) {
                 less.logger.info("loading " + sheet.href + " from cache.");

-- 
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