refactor(github): export default in get-repo-owner-and-repo

This commit is contained in:
Ali BARIN
2022-10-18 20:55:34 +02:00
parent 0b8b5aeebd
commit 51059b0f39

View File

@@ -3,7 +3,7 @@ type TRepoOwnerAndRepo = {
repo: string; repo: string;
} }
export function getRepoOwnerAndRepo(repoFullName: string): TRepoOwnerAndRepo { export default function getRepoOwnerAndRepo(repoFullName: string): TRepoOwnerAndRepo {
const [repoOwner, repo] = repoFullName.split('/'); const [repoOwner, repo] = repoFullName.split('/');
return { return {