Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
viceice committed Feb 13, 2021
1 parent ac98863 commit 04d2cd1
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion lib/platform/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import * as github from './github';
import * as gitlab from './gitlab';

const api = new Map<string, Platform>();

export default api;

api.set('azure', azure);
Expand Down
3 changes: 1 addition & 2 deletions lib/platform/index.spec.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import { PLATFORM_NOT_FOUND } from '../constants/error-messages';
import { PLATFORM_TYPE_BITBUCKET } from '../constants/platforms';
import { loadModules } from '../util/modules';

import { Platform } from './common';
import * as platform from '.';
import { Platform } from '.';

jest.unmock('.');

Expand Down
1 change: 0 additions & 1 deletion lib/versioning/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import * as swift from './swift';
import * as ubuntu from './ubuntu';

const api = new Map<string, VersioningApi | VersioningApiConstructor>();

export default api;

api.set('cargo', cargo.api);
Expand Down

0 comments on commit 04d2cd1

Please sign in to comment.