From 093e70cd69c1c8db3b3ed54345d34b61ffa30f0a Mon Sep 17 00:00:00 2001 From: bendtherules Date: Mon, 9 Jul 2018 09:56:52 +0530 Subject: [PATCH] Fix typos from refactoring --- src/gh.ts | 2 +- src/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) {