From 88c43cfc5cba0437b07d0f92b30560d532f95104 Mon Sep 17 00:00:00 2001 From: ansuz Date: Tue, 7 Aug 2018 11:45:22 +0200 Subject: [PATCH] address a linter error --- www/file/file-crypto.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/file/file-crypto.js b/www/file/file-crypto.js index 1c274cbe7..a74439492 100644 --- a/www/file/file-crypto.js +++ b/www/file/file-crypto.js @@ -36,7 +36,7 @@ define([ var increment = function (N) { var l = N.length; while (l-- > 1) { - /* jshint probably suspects this is unsafe because we lack types + /* our linter suspects this is unsafe because we lack types but as long as this is only used on nonces, it should be safe */ if (N[l] !== 255) { return void N[l]++; } // jshint ignore:line if (l === 0) { throw new Error('E_NONCE_TOO_LARGE'); }