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

[DownloadBuildArtifactsV0] Replace decompress-zip with extract-zip package #19569

Conversation

kirill-ivlev
Copy link
Contributor

Task name: DownloadBuildArtifactsV0

Description: Replace decompress-zip package with extract-zip package to avoid incapability issues with Node17+

Documentation changes required: (Y/N) N

Added unit tests: (Y/N) N

Attached related issue: (Y/N) https://mseng.visualstudio.com/AzureDevOps/_workitems/edit/2150886
https://mseng.visualstudio.com/AzureDevOps/_workitems/edit/2150886
Checklist:

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

@kirill-ivlev kirill-ivlev requested review from manolerazvan and a team as code owners February 22, 2024 14:01
@kirill-ivlev kirill-ivlev merged commit 2d02253 into master Feb 27, 2024
8 checks passed
#if NODE20
tl.debug(`Using extract-zip package for extracting archive`);
extract(this.zipLocation, { dir: unzipLocation }).then(() => {
resolve();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this be return resolve() and return reject(...)?

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.

7 participants