-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BO-901 - Create version and refactor command arguments validation #11
Conversation
weber-gregoire
commented
Feb 28, 2017
… using new validator
bin/barracks.js
Outdated
@@ -25,6 +25,7 @@ const barracks = program | |||
if (config.experimental) { | |||
barracks | |||
.command('create-package', 'Create a new package') | |||
.command('create-version', 'Create a package version') |
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.
create-package-version?
formData: { | ||
version: { | ||
value: JSON.stringify({ | ||
id: version.id, |
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.
id mongo VS version id?
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.
it's not the mongo id, all good