mirror of
https://github.com/bendtherules/github-delete-unused-repos.git
synced 2026-08-18 13:52:59 +00:00
Convert detection logic into class + Remove unused sample files
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
import 'babel-polyfill';
|
||||
import { Greeter } from './greeter';
|
||||
// tslint:disable-next-line:ordered-imports
|
||||
import { fetchUnusedForkedRepos, runMain } from './gh';
|
||||
export * from './greeter';
|
||||
|
||||
// tslint:disable-next-line:only-arrow-functions
|
||||
(function(currentWindow: Window) {
|
||||
@@ -13,7 +11,6 @@ export * from './greeter';
|
||||
|
||||
// assign Greeter to global
|
||||
const myWindow = currentWindow as any;
|
||||
myWindow.Greeter = Greeter;
|
||||
myWindow.runMain = runMain;
|
||||
// we can use Greeter , execute following in console
|
||||
// var greet = new Greeter('myName');
|
||||
|
||||
Reference in New Issue
Block a user