Skip to content

Commit 81ac039

Browse files
chore(isJWT): ignore Buffer undefined else branch
1 parent eaeaeb0 commit 81ac039

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/lib/isJWT.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import assertString from './util/assertString';
22
import isBase64 from './isBase64';
33

44
function decodeBase64Url(b64) {
5+
/* istanbul ignore else */
56
if (typeof Buffer !== 'undefined') {
67
/* istanbul ignore else */
78
if (typeof Buffer.from === 'function') {

0 commit comments

Comments
 (0)