refactor(github): export default in get-repo-owner-and-repo
This commit is contained in:
@@ -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 {
|
||||||
|
Reference in New Issue
Block a user