Skip to content

Conversation

@luismulinari
Copy link
Contributor

Description

This PR fixes a bug where the download URL was displayed using console.log, which broke the progress tracker's oneline printing format when using the --skip-download option.

Changes

  • Removed console.log call that was interfering with the progress tracker's output format
  • Created a centralized generateDownloadURLOutputString() method to ensure consistent URL formatting
  • Updated both backup and export job flows to use the new formatting method via progressTracker.stepSuccess()

Why

The --skip-download option (added in #2625) displayed the download URL using console.log, which disrupted the progress tracker's oneline printing mechanism. This PR ensures the download URL is properly integrated with the progress tracker's output system.

Changelog Description

Fixed

  • Fixed download URL breaking oneline progress output in export-sql command

Changed

Pull request checklist

New release checklist

Steps to Test

Outline the steps to test and verify the PR here.

Example:

  1. Check out PR.
  2. Run npm run build
  3. Run ./dist/bin/vip-cookies.js nom
  4. Verify cookies are delicious.

The console.log call for download URL was breaking the progress tracker's
oneline printing format. Refactored to use a centralized formatting method
that integrates properly with the progress tracker's stepSuccess output.
@luismulinari luismulinari requested a review from a team November 28, 2025 21:38
@github-actions
Copy link
Contributor

github-actions bot commented Nov 28, 2025

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@sonarqubecloud
Copy link

@luismulinari luismulinari merged commit 5940f8f into trunk Nov 29, 2025
19 checks passed
@luismulinari luismulinari deleted the download-url-fix branch November 29, 2025 02:28
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