Skip to content
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

Merged
merged 3 commits into from
Oct 22, 2019
Merged

Add commandline tests #11609

merged 3 commits into from
Oct 22, 2019

Conversation

damccorm
Copy link

No description provided.

@@ -2,6 +2,7 @@
"name": "vsts-cmdline-task",
"dependencies": {},
"globalDependencies": {
"mocha": "registry:dt/mocha#2.2.5+20160720003353",
Copy link
Member

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.

Copy link
Author

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?

Copy link
Member

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.

Copy link
Author

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"
Copy link
Member

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?

Copy link
Author

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

Copy link
Contributor

@jtpetty jtpetty left a 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.

@damccorm damccorm merged commit 78445cf into master Oct 22, 2019
@damccorm damccorm deleted the users/damccorm/cmdTests branch October 22, 2019 19:17
leantk pushed a commit that referenced this pull request Dec 23, 2019
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.

3 participants