[Pkg-mozext-commits] [greasemonkey] 01/07: Do not reference nonexistent `resName` var, reference `name` which exists.
David Prévot
taffit at moszumanska.debian.org
Sat Jul 11 22:49:46 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository greasemonkey.
commit edaab6017516b18f97ea1b93f6f69323122bb8b8
Author: Anthony Lieuallen <arantius at gmail.com>
Date: Fri May 29 11:02:04 2015 -0400
Do not reference nonexistent `resName` var, reference `name` which exists.
---
modules/parseScript.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/parseScript.js b/modules/parseScript.js
index 6595d41..27cf52c 100644
--- a/modules/parseScript.js
+++ b/modules/parseScript.js
@@ -80,7 +80,7 @@ function parse(aSource, aUri, aFailWhenMissing, aNoMetaOk) {
if (name in resourceNames) {
script.parseErrors.push(
gStringBundle.GetStringFromName('parse.resource-duplicate')
- .replace('%1', resName));
+ .replace('%1', name));
break;
}
resourceNames[name] = true;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/greasemonkey.git
More information about the Pkg-mozext-commits
mailing list