Update grunt-contrib-jshint to make build succeed

This commit is contained in:
Scott Nonnenberg 2017-11-06 12:15:57 -08:00
parent beb11f0292
commit dbf8c26967
No known key found for this signature in database
GPG Key ID: A4931C09644C654B
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@
"grunt-cli": "^0.1.13",
"grunt-contrib-concat": "^0.5.0",
"grunt-contrib-connect": "^0.9.0",
"grunt-contrib-jshint": "^0.10.0",
"grunt-contrib-jshint": "^1.1.0",
"grunt-contrib-sass": "^0.8.1",
"grunt-contrib-watch": "^0.6.1",
"grunt-jscs": "^1.1.0",

View File

@ -185,7 +185,7 @@ SessionCipher.prototype = {
}.bind(this));
},
doDecryptWhisperMessage: function(messageBytes, session) {
if (!messageBytes instanceof ArrayBuffer) {
if (!(messageBytes instanceof ArrayBuffer)) {
throw new Error("Expected messageBytes to be an ArrayBuffer");
}
var version = (new Uint8Array(messageBytes))[0];