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

VIP-CLI interactive console: Trim leading and ending spaces in command passed in #2180

Merged
merged 1 commit into from
Jan 3, 2025

Conversation

rebeccahum
Copy link
Contributor

@rebeccahum rebeccahum commented Jan 3, 2025

Description

Fixes the issue where it reports an invalid command:

➸ vip @<site>.production -y -- wp
Welcome to the WP-CLI shell for the PRODUCTION environment of <site>!

<site>.production:~$    wp option get home
Error: invalid command, please pass a valid WP-CLI command.

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.

Copy link
Contributor

github-actions bot commented Jan 3, 2025

Dependency Review

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

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Files

Copy link

sonarqubecloud bot commented Jan 3, 2025

@rebeccahum rebeccahum requested a review from sjinks January 3, 2025 18:01
Copy link
Member

@sjinks sjinks left a comment

Choose a reason for hiding this comment

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

Tested, works great, thank you! 👍🏽

@rebeccahum rebeccahum merged commit 8aaba52 into trunk Jan 3, 2025
17 checks passed
@rebeccahum rebeccahum deleted the bb8-12237 branch January 3, 2025 18:06
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.

2 participants