We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fe30f58 + 47c5f06 commit 647edb7Copy full SHA for 647edb7
src/extension.ts
@@ -54,7 +54,7 @@ function fileToBase64(file: string) {
54
// read binary data
55
var bitmap = readFileSync(file);
56
// convert binary data to base64 encoded string
57
- return new Buffer(bitmap).toString('base64');
+ return bitmap.toString('base64');
58
}
59
60
function parseJwt (token: string) {
0 commit comments