commit 5075b153c88d379b599eb6b1bc1d64e23589391d
parent 809f384ee739ffd676b222fb14ccfcef06d303af
Author: Jared Tobin <jared@jtobin.io>
Date: Wed, 23 Sep 2020 15:25:34 -0230
up8-ticket: ignore uninteresting code
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/index.js b/src/index.js
@@ -11,6 +11,7 @@ const GALOIS_BITSIZE = 8
* Strip a leading zero from a string.
*/
const unpad = str => {
+ /* istanbul ignore next */
if (!(str.slice(0, 1) === '0')) {
/* istanbul ignore next */
throw new Error('nonzero leading digit -- please report this as a bug!')