-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Final Newman v4 cleanup #1657
Final Newman v4 cleanup #1657
Conversation
@@ -88,7 +118,6 @@ describe('cli parser', function () { | |||
cli('node newman.js run myCollection.json'.split(' '), 'run', | |||
function (err, opts) { | |||
expect(err).to.be.null; | |||
expect(opts.command).to.equal('run'); |
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.
This assertion is not required.
Reference: https://github.com/postmanlabs/newman/pull/1623/files#diff-5ca73ed8232f80fbac6031d2a2c0b8d9L20
@@ -75,10 +75,7 @@ module.exports = { | |||
validProp && (result[key] = value); | |||
|
|||
return result; | |||
}, { |
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.
These two properties are added unnecessarily.
Reference: https://github.com/postmanlabs/newman/pull/1623/files#diff-024316d2f6b434a9ff0a176917b4ebb3L254
@@ -1,4 +1,3 @@ | |||
module.exports = { | |||
run: require('./run'), | |||
version: require('./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.
Not required because of: https://github.com/postmanlabs/newman/pull/1623/files#diff-024316d2f6b434a9ff0a176917b4ebb3R12
No description provided.