Update eslint to version 1.1

This commit is contained in:
Nicholas Dudfield
2015-08-08 09:07:25 +07:00
parent 8d8ec0010f
commit 443d8a3b18
2 changed files with 3 additions and 1 deletions

View File

@@ -28,7 +28,7 @@
"babel-eslint": "^4.0.5",
"babel-loader": "^5.3.2",
"coveralls": "~2.10.0",
"eslint": "^1.0.0",
"eslint": "^1.1.0",
"eventemitter2": "^0.4.14",
"istanbul": "~0.3.5",
"lodash": "^3.10.0",

View File

@@ -98,7 +98,9 @@ class K256Pair extends KeyPair {
verify(message, signature) {
try {
return this.key().verify(this.hashMessage(message), signature);
/* eslint-disable no-catch-shadow */
} catch (e) {
/* eslint-enable no-catch-shadow */
return false;
}
}