diff --git a/src/gh.ts b/src/gh.ts index 9033270..c7253dd 100644 --- a/src/gh.ts +++ b/src/gh.ts @@ -185,7 +185,7 @@ class GithubDetectUnusedRepos { public async fetchUnusedForkedRepos() { const params: Octokit.ReposGetForUserParams = { - this.username, + username: this.username, }; const repos: ResponseWithDataArray = await this.paginate( diff --git a/src/index.ts b/src/index.ts index 7add6e9..41d3562 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,6 +1,6 @@ import 'babel-polyfill'; // tslint:disable-next-line:ordered-imports -import { fetchUnusedForkedRepos, runMain } from './gh'; +import { runMain } from './gh'; // tslint:disable-next-line:only-arrow-functions (function(currentWindow: Window) {