Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
millotp committed Jan 11, 2024
1 parent 504e64c commit 5775e7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ function camelize(str: string, delimiter: string = '-'): string {
*
* `searchClient` -> `SearchClient`.
*/
function capitalize(str: string): string {
export function capitalize(str: string): string {
return str.charAt(0).toUpperCase() + str.slice(1);
}

Expand Down
2 changes: 1 addition & 1 deletion scripts/release/updateAPIVersions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ async function updateChangelog(
await fsp.writeFile(changelogPath, [changelogHeader, changelog, content].join('\n\n'));
}

function getVersionsToRelease(versions: Versions): VersionsToRelease {
export function getVersionsToRelease(versions: Versions): VersionsToRelease {
const versionsToRelease: VersionsToRelease = {};

Object.entries(versions).forEach(
Expand Down

0 comments on commit 5775e7a

Please sign in to comment.