Skip to content

Commit 13d2b5e

Browse files
author
Nicholas C. Zakas
committed
Removed unused code
1 parent f54b8bf commit 13d2b5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

encodings/base64/base64.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ function base64Decode(text){
8181

8282
//first check for any unexpected input
8383
if(!(/^[a-z0-9\+\/\s]+\={0,2}$/i.test(text))){
84-
throw new Error("Not a base64-encode string.");
84+
throw new Error("Not a base64-encoded string.");
8585
}
8686

8787
//local variables

0 commit comments

Comments
 (0)