-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Add commandline tests #11609
Add commandline tests #11609
Conversation
@@ -2,6 +2,7 @@ | |||
"name": "vsts-cmdline-task", | |||
"dependencies": {}, | |||
"globalDependencies": { | |||
"mocha": "registry:dt/mocha#2.2.5+20160720003353", |
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.
We should get rid of typings and replace with @ types. Strangely I thought we already had everywhere.
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.
For some reason it really doesn't like me changing to @types
, especially for node. Are you ok merging here and we can follow up on that later? There's also a fair amount of tasks that use typings - why is it a problem?
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.
Let's file an issue to do it so we can track.
Reason: Typings was deprecated a long time ago.
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.
Done - #11620
@@ -18,6 +18,6 @@ | |||
"homepage": "https://github.com/Microsoft/azure-pipelines-tasks#readme", | |||
"dependencies": { | |||
"uuid": "^3.0.1", | |||
"azure-pipelines-task-lib": "2.7.0" | |||
"azure-pipelines-task-lib": "2.7.1" |
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.
Is CI forcing a bump for changes?
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.
Whoops, meant to call out this change - mocking was briefly broken for v2.7.0 because it tried to reference vsts-task-lib (so I get a compile error), this was fixed in 2.7.1 - see this PR for reference - microsoft/azure-pipelines-task-lib#457
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.
LGTM - but let's see what @stephenmichaelf says about his comment.
No description provided.