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

fix: migration commander error #3712

Merged
merged 1 commit into from
Jan 21, 2025
Merged

Conversation

mfranzke
Copy link
Member

Proposed changes

Fixes the following bug within migration package

npx @db-ui/migration --type=v006_v007 --src=./src      
~/.npm/_npx/f73cec7303872e39/node_modules/commander/lib/option.js:342
      throw new Error(
            ^

Error: option creation failed due to '-dry' in option flags '-dry, --dryRun <dryRun>'
- a short flag is a single dash and a single character
  - either use a single dash and a single character (for a short flag)
  - or use a double dash for a long option (and can have two, like '--ws, --workspace'

Types of changes

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Refactoring (fix on existing components or architectural decisions)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update (if none of the other choices apply)

Further comments

@mfranzke mfranzke added the 🐛bug Something isn't working label Jan 21, 2025
@mfranzke mfranzke self-assigned this Jan 21, 2025
Copy link
Contributor

🔭🐙🐈 Test this branch here: https://db-ui.github.io/mono/review/fix-migration-commander-error

@mfranzke mfranzke removed their assignment Jan 21, 2025
@mfranzke mfranzke merged commit 582cf88 into main Jan 21, 2025
139 checks passed
@mfranzke mfranzke deleted the fix-migration-commander-error branch January 21, 2025 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant