Skip to content

Conversation

@hongde88
Copy link

  1. Added registry source to mdctl-packages.
  2. Added package publish/install to mdctl-cli.

let srcClient

if (source === 'registry') {
if (!isSet(registryUrl)) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not adding this checking inside the Registry class?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch there. I actually just realized that I added that check inside Registry class already. Let me remove that check from publish.js.

@gastonrobledo
Copy link
Collaborator

@hongde88 we could also add some tests for these changes.

@hongde88
Copy link
Author

@gastonrobledo I'm wrapping up some unit tests for my changes and will push them later. Thanks!

@gastonrobledo gastonrobledo merged commit bf23045 into Medable:feature/packages Feb 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants