[build-path-prefix-map-spec] 01/03: Fix JS error handling

Ximin Luo infinity0 at debian.org
Tue Mar 14 19:29:53 UTC 2017


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

infinity0 pushed a commit to branch master
in repository build-path-prefix-map-spec.

commit 984cc36e3bc2bbaeb3851572254fb8e80d4986e1
Author: Ximin Luo <infinity0 at debian.org>
Date:   Tue Mar 14 19:55:51 2017 +0100

    Fix JS error handling
---
 consume/pecsplit.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/consume/pecsplit.js b/consume/pecsplit.js
index 5c2d500..cd9642e 100755
--- a/consume/pecsplit.js
+++ b/consume/pecsplit.js
@@ -12,7 +12,7 @@ var parse_prefix_map = function(x) {
   return (x || "").split(/:/g).filter(Boolean).map(function(part) {
     var tuples = part.split(/=/g).map(unquote);
     if (tuples.length !== 2)
-      throw "invalid value: not a pair: " + pair;
+      throw "invalid value: not a pair: " + tuples;
     return tuples;
   });
 };

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/build-path-prefix-map-spec.git



More information about the Reproducible-commits mailing list