Skip to content

Commit

Permalink
Fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremymeng committed May 28, 2021
1 parent 5080805 commit 6b33e6b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ declare global {
}

/**
* Base64 decode.
* Base64 decode
*
* @internal
* @export
* @param {string} encodedString
* @returns {string}
* @param encodedString -
* @returns
*/
export function base64decode(encodedString: string): string {
return atob(encodedString);
Expand Down
7 changes: 3 additions & 4 deletions sdk/containerregistry/container-registry/src/base64.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@
// Licensed under the MIT license.

/**
* Base64 decode.
* Base64 decode
*
* @internal
* @export
* @param {string} encodedString
* @returns {string}
* @param encodedString -
* @returns
*/
export function base64decode(encodedString: string): string {
return Buffer.from(encodedString, "base64").toString();
Expand Down

0 comments on commit 6b33e6b

Please sign in to comment.