-
Notifications
You must be signed in to change notification settings - Fork 200
Status command for multiple dependencies #39
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great to me! And everything seems to be working ok!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great to me! And everything seems to be working ok!
packages/cli/src/scripts/status.js
Outdated
@@ -81,44 +80,46 @@ async function contractsInfo(controller) { | |||
.forEach(contractAlias => log.warn(`- ${contractAlias} will be removed on next push`)); | |||
} | |||
|
|||
async function stdlibInfo(networkFile) { | |||
async function depsInfo(networkFile) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As we are using dependencies
/dependency
everywhere, we should rename this to dependenciesInfo
for consistency.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jcarpanelli updated!
packages/cli/src/scripts/status.js
Outdated
@@ -10,7 +10,7 @@ export default async function status({ network, txParams = {}, networkFile = und | |||
|
|||
if (!(await rootInfo(controller))) return; | |||
if (!(await versionInfo(controller.networkFile))) return; | |||
await stdlibInfo(controller.networkFile); | |||
await depsInfo(controller.networkFile); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dependenciesInfo
* Re-enable status command with multiple dependencies * Track both requirement and actual version on Dependency model * Rename depsInfo to dependenciesInfo in status script
* Re-enable status command with multiple dependencies * Track both requirement and actual version on Dependency model * Rename depsInfo to dependenciesInfo in status script
Re-enables the
status
command that had been disabled for multiple dependencies on #17 .