Skip to content
This repository has been archived by the owner on Apr 19, 2021. It is now read-only.

Commit

Permalink
Fix indentation to improve readability
Browse files Browse the repository at this point in the history
  • Loading branch information
ankon committed Jan 25, 2018
1 parent 53c0355 commit b7c3118
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -357,8 +357,10 @@ function connect(config) {
const apiPromises = flatMap(apiGroups.groups, group => {
return group.versions.map(version => createApi(group.name, `apis/${version.groupVersion}`, version, version.version === group.preferredVersion.version));
});
apiPromises.push(createApi('', `api/${coreVersion}`, {groupVersion: coreVersion,
version: coreVersion}, true));
apiPromises.push(createApi('', `api/${coreVersion}`, {
groupVersion: coreVersion,
version: coreVersion
}, true));
return Promise.all(apiPromises);
}).then(apis => {
return apis.reduce((result, api) => {
Expand Down

0 comments on commit b7c3118

Please sign in to comment.