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

Set a default value for the vscode host parameter #766

Merged
merged 1 commit into from
Dec 30, 2024
Merged

Conversation

gsxdsm
Copy link
Contributor

@gsxdsm gsxdsm commented Dec 29, 2024

🔗 Fixes

❓ Type of change

  • 📖 Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

Fixes a bug in #763 - when the host parameter is not specified, the MS Code Server and MS Code CLI won't start (empty parameter is unrecognized). This change defaults the host to 127.0.0.1.

Without this, the ms-code-cli will fail to start if the host isn't specified in nuxt config.
@gsxdsm
Copy link
Contributor Author

gsxdsm commented Dec 29, 2024

@antfu heads up - I found a bug in my changes, the ms-code-server and ms-code-cli options weren't working if a host wasn't specified. This sets a default value for the host (127.0.0.1)

@antfu antfu merged commit 2e6b4e4 into nuxt:main Dec 30, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants