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

[UseDotNetV2] - Fix NuGet incompatibility #18898

Merged
merged 3 commits into from
Aug 30, 2023

Conversation

DmitriiBobreshev
Copy link
Contributor

Task name: UseDotNetV2

Description:

  • Replaced exec with execSync since in node10 the task-lib wasn't catching/failing tasks on async operations (like exec) and from node16 it started to throw errors which can be caught by the task-lib. With execSync the UseDotNet task could catch and handle the errors in NuGetInstaller.installNuGet method.

Documentation changes required: N

Added unit tests: N

Checklist:

  • Task version was bumped - please check instruction how to do it
  • Checked that applied changes work as expected

- Replaced exec with execSync since in node10 the task-lib wasn't catch/failed tasks on async operations (like exec)
  and from node16 it started to throws errors which can be caught by the task-lib. With execSync the UseDotNet task could
  catch and handle the errors in NuGetInstaller.installNuGet method.
@DmitriiBobreshev DmitriiBobreshev merged commit 114a653 into master Aug 30, 2023
@DmitriiBobreshev DmitriiBobreshev deleted the user/dmitriibobreshev/usedotnet_fix branch August 30, 2023 09:30
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.

4 participants